You are on page 1of 22

ConvolutionofSignalsin MATLAB

RobertFrancis August29,2011

ReviewofConvolution

y (t ) x(t ) * h(t )

x( )h( t )d

Visual example copied from Wikipedia


9/12/2011

ReviewofConvolution

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

GeneratingTimeVectorsinMatlab

9/12/2011

GenerateSquareWave

9/12/2011

PlotSquareWave

9/12/2011

AdjustMagnitudeandReplot

9/12/2011

Nyquist SamplingTheorem
Ifacontinuoustimesignalhasnofrequency componentsabovefh,thenitcanbespecified byadiscretetimesignalwithasampling frequencygreaterthantwicefh.

9/12/2011

DefineNyquist SamplingTimeVector

9/12/2011

GenerateNyquist SamplingSquareWave

9/12/2011

PlotNyquist SquareWave

9/12/2011

DefineUndersampled TimeVector

9/12/2011

GenerateUndersampled SquareWave

9/12/2011

PlotUndersampled

9/12/2011

ConvolutionWithLinearDecaySignal

9/12/2011

LinearDecaySignal

9/12/2011

PlotofConvolutions

9/12/2011

ConvolutionwithExponentialDecaySignal

9/12/2011

ExponentialDecaySignal

9/12/2011

PlotofConvolutions

9/12/2011

FFTofSignalsinMATLAB
RobertFrancis August31,2011

ReviewofFourierTransform

The Fourier Integral

X(f )

j 2ft x ( t ) e dt

DFT (Discrete Fourier Transform)

X k xn e j 2kn / N , k 1,2,..., N
n 0

N 1

9/12/2011

You might also like