フィルターのクリア

Do you have to have an FFT to do an IFFT?

2 ビュー (過去 30 日間)
Joe
Joe 2013 年 7 月 5 日
I know that you can do a Fast Fourier Transformation from time to frequency domain and then back to the time domain with an Inverse Fast Fourier Transformation, but is it possible to just have an Inverse Fast Fourier Transformation converting from the frequency to the time domain without initially having the Fast Fourier Transformation?

採用された回答

David Sanchez
David Sanchez 2013 年 7 月 5 日
You do not have to have used fft before using ifft. The following will work:
x=rand(100,1);
b=ifft(x);
The subject of what you get at the end is another issue. To obtain anything coherent, your initial data should be data in frequency domain.
  1 件のコメント
Joe
Joe 2013 年 7 月 5 日
Thank you.

サインインしてコメントする。

その他の回答 (1 件)

Walter Roberson
Walter Roberson 2013 年 7 月 5 日
Yes. ifft() works on any frequency data, no matter where it came from. Just be careful that the frequency data is not stored in shifted format (with 0 in the center)
For example you can find out how a 50 Hz and 50.1 Hz tone "beat" together by generating an array of zeros that is long enough, setting the bins for 50 Hz and 50.1 Hz to the same value (remember to set for both half-arrays), and then ifft() to see what the result is over time.
  1 件のコメント
Joe
Joe 2013 年 7 月 5 日
Ok thanks. I think I have a more specific question, but I'll probably ask it in a new thread with my code.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeFourier Analysis and Filtering についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by