to find the rectangular pulse The width of rectangular pulse is 5 ,1,5.0,1.0,05.0=w , centered at x=0.

2 views (last 30 days)
Pooja Mahesh Nargunde
Pooja Mahesh Nargunde on 11 Apr 2020
Edited: Nikhil Sonavane on 20 Apr 2020
syms a b t
f = rectangularPulse(a,b,t);
ffT = fourier(f);
ffT = - (sin(a*w) + cos(a*w)*1i)/w + (sin(b*w) + cos(b*w)*1i)/w;

Answers (1)

Nikhil Sonavane
Nikhil Sonavane on 20 Apr 2020
Edited: Nikhil Sonavane on 20 Apr 2020
I would suggest you go through the documentation of rectangularPulse function and you may then use it to get the rectangular pulse of your need.

Community Treasure Hunt

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

Start Hunting!