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

19 visualizzazioni (ultimi 30 giorni)
body of the function is- f(t)=[1-|t|/T], when|t|<T, else 0.
  1 Commento
Azzi Abdelmalek
Azzi Abdelmalek il 11 Ago 2013
Modificato: Azzi Abdelmalek il 11 Ago 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

Accedi per commentare.

Risposta accettata

Image Analyst
Image Analyst il 12 Ago 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 Commenti
Image Analyst
Image Analyst il 7 Ott 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

Accedi per commentare.

Più risposte (1)

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

Categorie

Scopri di più su Simulink in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by