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

1 Ansicht (letzte 30 Tage)
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;

Antworten (1)

Nikhil Sonavane
Nikhil Sonavane am 20 Apr. 2020
Bearbeitet: Nikhil Sonavane am 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!

Translated by