Can we find the fourier transform of a function?
1 次查看(过去 30 天)
显示 更早的评论
In symbolic tool box, there is a function called fourier which is supposed to give the FT of a function. Example below works
syms x y
f = exp(-x^2);
fourier(f, x, y)
But I find that this does not work. why?
syms x y
f = exp(-x^4);
fourier(f, x, y)
How do you represent a rectangular pulse function in MATLAB so that I can get the FT of it?
rect(t) = 1 if t is between -0.5 and 0.5 inclusive and zero outside.
2 个评论
回答(1 个)
Walter Roberson
2015-6-8
Rectangular pulse that is 1 between A and B is
Heaviside(x-A) - Heaviside(x-B)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Assumptions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!