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

Answers (1)

Some friends for your journey:
doc zeros
doc ones
doc repmat
doc reshape
doc fft

Asked:

on 10 Sep 2012

Community Treasure Hunt

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

Start Hunting!