Top Banner
Convolution of Signals in MATLAB Robert Francis August 29, 2011 August 29, 2011
22

Convolution of Signals in MATLAB.pdf

Nov 01, 2014

Download

Documents

Tam Nguyen

convolution matlab
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Convolution of Signals in MATLAB.pdf

Convolution of Signals in MATLAB

Robert Francis

August 29, 2011August 29, 2011

Page 2: Convolution of Signals in MATLAB.pdf

Review of ConvolutionReview of Convolution

dthxthtxty )()()(*)()(

9/12/2011Visual example copied from Wikipedia

Page 3: Convolution of Signals in MATLAB.pdf

Review of ConvolutionReview of Convolution

9/12/2011

Smith, http://www.dspguide.com/ch6/2.htm

Page 4: Convolution of Signals in MATLAB.pdf

Generating Time Vectors in MatlabGenerating Time Vectors in Matlab

9/12/2011

Page 5: Convolution of Signals in MATLAB.pdf

Generate Square WaveGenerate Square Wave

9/12/2011

Page 6: Convolution of Signals in MATLAB.pdf

Plot Square WavePlot Square Wave

9/12/2011

Page 7: Convolution of Signals in MATLAB.pdf

Adjust Magnitude and Re‐plotAdjust Magnitude and Re plot

9/12/2011

Page 8: Convolution of Signals in MATLAB.pdf

Nyquist Sampling TheoremNyquist Sampling Theorem

• If a continuous time signal has no frequencyIf a continuous time signal has no frequency components above fh, then it can be specified by a discrete time signal with a samplingby a discrete time signal with a sampling frequency greater than twice fh.

9/12/2011

Page 9: Convolution of Signals in MATLAB.pdf

Define Nyquist Sampling Time VectorDefine Nyquist Sampling Time Vector

9/12/2011

Page 10: Convolution of Signals in MATLAB.pdf

Generate Nyquist Sampling Square WaveGenerate Nyquist Sampling Square Wave

9/12/2011

Page 11: Convolution of Signals in MATLAB.pdf

Plot Nyquist Square WavePlot Nyquist Square Wave

9/12/2011

Page 12: Convolution of Signals in MATLAB.pdf

Define Undersampled Time VectorDefine Undersampled Time Vector 

9/12/2011

Page 13: Convolution of Signals in MATLAB.pdf

Generate Undersampled Square WaveGenerate Undersampled Square Wave

9/12/2011

Page 14: Convolution of Signals in MATLAB.pdf

Plot UndersampledPlot Undersampled

9/12/2011

Page 15: Convolution of Signals in MATLAB.pdf

Convolution With Linear Decay SignalConvolution With Linear Decay Signal

9/12/2011

Page 16: Convolution of Signals in MATLAB.pdf

Linear Decay SignalLinear Decay Signal

9/12/2011

Page 17: Convolution of Signals in MATLAB.pdf

Plot of ConvolutionsPlot of Convolutions

9/12/2011

Page 18: Convolution of Signals in MATLAB.pdf

Convolution with Exponential Decay SignalConvolution with Exponential Decay Signal

9/12/2011

Page 19: Convolution of Signals in MATLAB.pdf

Exponential Decay SignalExponential Decay Signal

9/12/2011

Page 20: Convolution of Signals in MATLAB.pdf

Plot of ConvolutionsPlot of Convolutions

9/12/2011

Page 21: Convolution of Signals in MATLAB.pdf

FFT of Signals in MATLABFFT of Signals in MATLAB

Robert Francis

August 31, 2011August 31, 2011

Page 22: Convolution of Signals in MATLAB.pdf

Review of Fourier TransformReview of Fourier Transform

dtetxfX ftj 2)()(The Fourier Integral

DFT (Discrete Fourier Transform)

1

0

/2 ,...,2,1,N

n

Nknjnk NkexX

9/12/2011