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
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
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
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
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
2020년 5월 4일
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!