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

11 views (last 30 days)
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.

Categories

Find more on Mathematics in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!