how can I do the fourier transform of triangular pulse using 'fft' function?

19 次查看(过去 30 天)
body of the function is- f(t)=[1-|t|/T], when|t|<T, else 0.
  1 个评论
Azzi Abdelmalek
Azzi Abdelmalek 2013-8-11
编辑:Azzi Abdelmalek 2013-8-11
What is your problem? how to use fft function or how to generate a triangular pulse?. You have also, to specify the time interval

请先登录,再进行评论。

采纳的回答

Image Analyst
Image Analyst 2013-8-12
Sounds like homework, though you didn't say. Hint: Try using linspace() to create rising and falling ramps, then stitch together.
risingRamp = linspace(0, 1, int(T/2));
triangularPulse = [zeros(1, N), risingRamp, fallingRamp, zeros(1, N)];
see what you can do with that. Then call fft(). Try it yourself.
  9 个评论
Image Analyst
Image Analyst 2018-10-7
No. Since the fft of a rect function is a sinc, and two rects convolved with each other give a triangle, then the fft of a triangle will give the multiplication of the ffts of a single rect, in other words, it will be a sinc squared.
ft(rect) => sinc
rect ** rect => triangle
ft(triangle) = ft(rect ** rect) = ft(rect) * ft(rect) = sinc^2

请先登录,再进行评论。

更多回答(1 个)

Priya Kasture
Priya Kasture 2020-5-4
Find FOURIER TRANSFORM of triangular pulse x(t)= triang(t/2pi) using heaviside function. Pls solve stepwise and show.

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by