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

20 views (last 30 days)
body of the function is- f(t)=[1-|t|/T], when|t|<T, else 0.
  1 Comment
Azzi Abdelmalek
Azzi Abdelmalek on 11 Aug 2013
Edited: Azzi Abdelmalek on 11 Aug 2013
What is your problem? how to use fft function or how to generate a triangular pulse?. You have also, to specify the time interval

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 12 Aug 2013
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 Comments
Image Analyst
Image Analyst on 7 Oct 2018
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

Sign in to comment.

More Answers (1)

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

Categories

Find more on Simulink 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!