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

조회 수: 20 (최근 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
SIBI CHAKRAVARTHY
SIBI CHAKRAVARTHY 2018년 10월 7일
Is the fft of a triangular pulse square of sinc function
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.
  댓글 수: 1
Image Analyst
Image Analyst 2020년 5월 4일
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.

댓글을 달려면 로그인하십시오.

카테고리

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