フィルターのクリア

FFT function in matlab

4 ビュー (過去 30 日間)
Bran
Bran 2014 年 10 月 6 日
コメント済み: Rick Rosson 2014 年 10 月 7 日
Hi
i just wanted to check out something regarding the fft function in matlab?
Does the spectra produced by the fft function give amplitudes or power?

回答 (3 件)

Rick Rosson
Rick Rosson 2014 年 10 月 6 日
編集済み: Rick Rosson 2014 年 10 月 6 日
Neither. It is a straight implementation of the definition of the DFT. Depending on how you choose to scale the result, you can compute one of a variety of different forms of the spectrum. It is in general proportional to the amplitude spectrum and not the power spectrum.
What are you trying to compute using fft?

Image Analyst
Image Analyst 2014 年 10 月 6 日
Maybe you'd rather use pwelch() in the Signal Processing Toolbox.

Bran
Bran 2014 年 10 月 6 日
Hey everyone,
Well I am playing aound with fourier synthesis and using my spectrum as a guide. I understand that I need to sum cosine and sine waves to get back to my time signal. I think if I understand correctly that the coefficients of the sine waves are governed by the imaginary values of the FFT and cosine are governed by the real parts. I wanted to check that FFT gave amplitudes so I could use it as an accuaret guide because at the moment I am not recreating the signal I would expect
  4 件のコメント
Bran
Bran 2014 年 10 月 7 日
Unfortunately this does not give the shape I would expect
Rick Rosson
Rick Rosson 2014 年 10 月 7 日
Can you also post the code you have where you computed the complex values using the FFT?

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

カテゴリ

Help Center および File ExchangeSpectral Measurements についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by