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 次查看(过去 30 天)
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;

回答(1 个)

Nikhil Sonavane
Nikhil Sonavane 2020-4-20
编辑:Nikhil Sonavane 2020-4-20
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.

类别

Help CenterFile Exchange 中查找有关 Switches and Breakers 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by