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

19 visualizaciones (últimos 30 días)
body of the function is- f(t)=[1-|t|/T], when|t|<T, else 0.
  1 comentario
Azzi Abdelmalek
Azzi Abdelmalek el 11 de Ag. de 2013
Editada: Azzi Abdelmalek el 11 de Ag. de 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

Iniciar sesión para comentar.

Respuesta aceptada

Image Analyst
Image Analyst el 12 de Ag. de 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 comentarios
SIBI CHAKRAVARTHY
SIBI CHAKRAVARTHY el 7 de Oct. de 2018
Is the fft of a triangular pulse square of sinc function
Image Analyst
Image Analyst el 7 de Oct. de 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

Iniciar sesión para comentar.

Más respuestas (1)

Priya Kasture
Priya Kasture el 4 de Mayo de 2020
Find FOURIER TRANSFORM of triangular pulse x(t)= triang(t/2pi) using heaviside function. Pls solve stepwise and show.
  1 comentario
Image Analyst
Image Analyst el 4 de Mayo de 2020
This is not an answer to Tahiatul Islam's question (who hasn't even been here in 7 years).
If it's your question, see this link.

Iniciar sesión para comentar.

Categorías

Más información sobre Simulink en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by