필터 지우기
필터 지우기

How can I show that the matlab IFFT is accurate enough?

조회 수: 4 (최근 30일)
Nina
Nina 2012년 10월 11일
I have no experience with fft and ifft and I just started using them. First I was asked to simulate a forced damped harmonic system in matlab (with code of course) and then do the fft analysis. Then I was asked to basically reconstruct the original wave from what I got back from fft, I thought of using ifft but shall I do it by hand? how hard ? shall I just use ifft? how accurate is it? Thanks everyone

채택된 답변

Wayne King
Wayne King 2012년 10월 11일
x = randn(1000,1);
xdft = fft(x);
y = ifft(xdft);
max(abs(x-y))
As long as you don't modify the Fourier transform coefficients before you take the inverse, I think you'll find it's very accurate.
  댓글 수: 1
Nina
Nina 2012년 10월 11일
Thanks a lot, I will discuss this with my professor.

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

추가 답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by