Net 222: Communications and networks fundamentals (Practical Part)

Slides:



Advertisements
Similar presentations
Lecture 4: Phasors; Discrete-Time Sinusoids Sections 1.4, 1.5.
Advertisements

The Discrete Fourier Transform. The spectrum of a sampled function is given by where –  or 0 .
Lecture 7: Basis Functions & Fourier Series
Lab5 (Signal & System) Instructor: Anan Osothsilp Date: 20 Feb 07 Due Date 09 March 07.
CMPS1371 Introduction to Computing for Engineers PROCESSING SOUNDS.
3.1 Chapter 3 Data and Signals Computer Communication & Networks.
Math Review with Matlab:
Graphs of the Sine and Cosine Functions
Signals Processing Second Meeting. Fourier's theorem: Analysis Fourier analysis is the process of analyzing periodic non-sinusoidal waveforms in order.
Lecture 8: Fourier Series and Fourier Transform
Unit 7 Fourier, DFT, and FFT 1. Time and Frequency Representation The most common representation of signals and waveforms is in the time domain Most signal.
Discrete Time Periodic Signals A discrete time signal x[n] is periodic with period N if and only if for all n. Definition: Meaning: a periodic signal keeps.
Matrix Definition A Matrix is an ordered set of numbers, variables or parameters. An example of a matrix can be represented by: The matrix is an ordered.
Frequency Domain Representation of Sinusoids: Continuous Time Consider a sinusoid in continuous time: Frequency Domain Representation: magnitude phase.
Where we’re going Speed, Storage Issues Frequency Space.
Introduction to MATLAB Session 1 Prepared By: Dina El Kholy Ahmed Dalal Statistics Course – Biomedical Department -year 3.
Motivation Music as a combination of sounds at different frequencies
EE2010 Fundamentals of Electric Circuits Lecture 13 Sinusoidal sources and the concept of phasor in circuit analysis.
Lecture 3 MATLAB LABORATORY 3. Spectrum Representation Definition: A spectrum is a graphical representation of the frequency content of a signal. Formulae:
Fourier series. The frequency domain It is sometimes preferable to work in the frequency domain rather than time –Some mathematical operations are easier.
ME- 495 Mechanical and Thermal Systems Lab Fall 2011 Chapter 4 - THE ANALOG MEASURAND: TIME-DEPENDANT CHARACTERISTICS Professor: Sam Kassegne.
Wireless and Mobile Computing Transmission Fundamentals Lecture 2.
Matlab Basics Tutorial. Vectors Let's start off by creating something simple, like a vector. Enter each element of the vector (separated by a space) between.
October 29, 2013Computer Vision Lecture 13: Fourier Transform II 1 The Fourier Transform In the previous lecture, we discussed the Hough transform. There.
Course Outline (Tentative) Fundamental Concepts of Signals and Systems Signals Systems Linear Time-Invariant (LTI) Systems Convolution integral and sum.
Discrete Fourier Transform in 2D – Chapter 14. Discrete Fourier Transform – 1D Forward Inverse M is the length (number of discrete samples)
Fourier Series Fourier Transform Discrete Fourier Transform ISAT 300 Instrumentation and Measurement Spring 2000.
Sin & Cos with Amplitude and Phase.. In the equation, 2 is a multiplier and called an amplitude. Amplitude describes the “height” of the trigonometric.
ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Fourth Edition, by Allan R. Hambley, ©2008 Pearson Education, Inc. Lecture 17 Fourier Analysis, Low.
The Spectrum n Jean Baptiste Fourier ( ) discovered a fundamental tenet of wave theory.
Lecture 6 (II) COMPLEX NUMBERS and PHASORS. OBJECTIVES A.Use a phasor to represent a sine wave. B.Illustrate phase relationships of waveforms using phasors.
EEE 332 COMMUNICATION Fourier Series Text book: Louis E. Frenzel. Jr. Principles of Electronic Communication Systems, Third Ed. Mc Graw Hill.
Chapter 2. READING ASSIGNMENTS This Lecture: Chapter 2, pp Appendix A: Complex Numbers Appendix B: MATLAB or Labview Chapter 1: Introduction.
Fourier Analysis Patrice Koehl Department of Biological Sciences National University of Singapore
Mayda M. Velasco Winter Classical Mechanics: Lecture #20.
EE422G Signals and Systems Laboratory Fourier Series and the DFT Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
EE301 Phasors, Complex Numbers, And Impedance. Learning Objectives Define a phasor and use phasors to represent sinusoidal voltages and currents Determine.
Signal Fndamentals Analogue, Discrete and Digital Signals
Sinusoids.
Linear Algebra Review.
Linear Algebra review (optional)
National Mathematics Day
Introduction to Transforms
Fourier Series Prof. Brian L. Evans
Signals in Matlab Matlab as a name stands for Matrix Laboratory.
COMPLEX NUMBERS and PHASORS
Fourier’s Theorem.
Frequency Domain Processing
EE Audio Signals and Systems
Sinusoidal Waveform Phasor Method.
Net 222: Communications and networks fundamentals (Practical Part)
Sinusoids: continuous time
Signals and Systems Networks and Communication Department Chapter (1)
OptiSystem-MATLAB data formats (Version 1.0)
Net 222: Communications and networks fundamentals (Practical Part)
LECTURE #2 Phase & Time-Shift Delay & Attenuation
5.2 Transformations of Sinusoidal Functions
Notes Assignments Tutorial problems
Communication and Coding Theory Lab(CS491)
Chapter 2 Discrete Fourier Transform (DFT)
Lecture 7C Fourier Series Examples: Common Periodic Signals
Net 222: Communications and networks fundamentals (Practical Part)
EE210 Digital Electronics Class Lecture 2 September 03, 2008
Lab 2 Sampling and Quantization
Linear Algebra review (optional)
Matlab Basics Tutorial
Today's lecture System Implementation Discrete Time signals generation
Discrete Fourier Transform
Lec.6:Discrete Fourier Transform and Signal Spectrum
ENEE222 Elements of Discrete Signal Analysis Lab 9 1.
Presentation transcript:

Net 222: Communications and networks fundamentals (Practical Part) Networks and Communication Department Lab 3: Matlab – Sinusoidal&Exercises

Sinusoidal Time & Frequency domain continuous or discrete signals Networks and Communication Department

continuous or discrete signals Continuous-Time Signals: A signal is continuous-time signal if the independent variable t is continuous. Discrete-Time Signals: A signal is defined at discrete times, a discrete-time signal is often identified as a sequence of numbers, denoted by A very important class of discrete-time signals is obtained by sampling a continuous-time signal IN MATLAB: command plot used to sketch the continuous time signals IN MATLAB: command stem used to sketch the discrete time signals Networks and Communication Department

Plotting Time domain using Matlab concept A general sine wave in time domain can be represented by three parameters : Peak amplitude (A) Frequency (f) Phase (φ) s(t) = A sin(2π f t +Φ) Networks and Communication Department

Plotting Time domain using Matlab Example Example: Plot and stem the time domain signal 7*sin(2*pi*2000*t+pi), t=0:0.05:3 Networks and Communication Department

Plotting Frequency domain using Matlab concept Using discipline Known as Fourier analysis (any signal is made up of components at various frequencies, in which each component is a sinusoid ). Eg. s(t) = [(4/π) x (sin(2πft) + (1/3) sin(2π(3f)t)] Networks and Communication Department

Plotting Frequency domain using Matlab example Plot each signals alone the show the frequency domain( Fourier) signal s(t)=[6*sin(2pi*t+pi)+4*sin(2*pi*3t+pi)+ 2*sin(2*pi*5t+3*pi)] Networks and Communication Department

Networks and Communication Department

Exercises Contents Basic exercises Arrays & Matrices Plotting Sinusoid Sampling Networks and Communication Department

Basic exercises Let vector x = [5 2 1 6]: Add 16 to each element Let y = [4 1 3 5], multiply x*y A. B. Adding 16 to vector x in matlab Multiplying two vectors x and y Networks and Communication Department

Basic exercises Evaluate the following MATLAB expressions by your hand and use MATLAB for checking your ans.: 2 / 2 * 3 (6 - 2 ) / 5 + 7 ^ 2 – 1 A. B. Hands calculation: 2/2=1 1*3 = 3 In Matlab:

Basic exercises Let vector t= 2, 4, 6, 8…20: Compute cos^2(t) %Notice that vector t is a starting form 2 and incremented by 2 till 20 % cos^2(t) is written as cos(t).^2 Networks and Communication Department

Basic exercises Let vector t= 2, 4, 6, 8…20: Exp^t(1+ cos(3t)) %Notice that vector t is a starting form 2 and incremented by 2 till 20 % exp^t is written as exp(t).

Arrays & Matrices Given an array A = [ 2 4 1 6 7 2 3 5 9] provide the commands needed to: assign the first row of A to a vector called x1 %Array in matlab written as each rows separated by ; %assign the first row till end Networks and Communication Department

Arrays & Matrices Given an array A = [ 2 4 1 6 7 2 3 5 9] provide the commands needed to: assign the last 2 rows of A to an array called y % end-1 is row before the last row % end is the last row Networks and Communication Department

Arrays & Matrices Given an array A = [ 2 4 1 6 7 2 3 5 9] provide the commands needed to: compute the square-root of each element of A Networks and Communication Department

Arrays & Matrices Transpose the following matrices: B=[3 2 6 8] A. B. Networks and Communication Department

Plotting Plot sin(x2) on the interval [-5,5]. Networks and Communication Department

Plotting 2. Create three curve on the interval [0,2π] step π/100 .the curve equation y = sin(x), y2 = sin(x-.25), y3 = sin(x- .5);

Sinusoid Sampling Sample the sinusoid x = sin(2 pi f t), where f = 2 kHz. And t=0:5T Let x1 be the signal sampled at 10 kHz. Networks and Communication Department

Sinusoid Sampling Sample the sinusoid x = sin(2 pi f t), where f = 2 kHz. And t=0:5T Let x2 be the signal sampled at 3 kHz Networks and Communication Department

Sinusoid Sampling Plot frequency domain sinusoid x = sin(2 pi f t), where fs= 8000 Hz. At different frequency tones start from 0 till 1, then multiplying the tones with 2 Networks and Communication Department

The End Any Questions ? Networks and Communication Department