Create a rectangular pulse signal i.e.a vector with 0s and 1s,the 1s will determine the widthof the pulse s=(0,0,0,1,1,1,0,0,0)% a rectangular pulse of width 3 samples a) find the magnitude and phase plot of a rectangular pulse using fft()function

1 view (last 30 days)
help pls

Answers (1)

Sean de Wolski
Sean de Wolski on 10 Sep 2012
Edited: Sean de Wolski on 10 Sep 2012
Some friends for your journey:
doc zeros
doc ones
doc repmat
doc reshape
doc fft

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!