Plot the regular function and Fourier transform
Show older comments
syms x a b L
n = [-10:0.01:10];
f = inline('rectangularPulse(a,b,x)','x')
f_FT = (1/L)*fourier(f);
Hi guys, I am confused about this assignment, I choose the rect function and transfer to its Fourier transform, but I am confused about the variable, my professor want the plot x over y, not the time. So, in this case, I change x to n/L and plot on interval (-10, 10) correct?
Accepted Answer
More Answers (0)
Categories
Find more on Spectral Measurements 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!