フィルターのクリア

Scaling of fft, when analyzing an audio file

1 回表示 (過去 30 日間)
Ivan Arkhipov
Ivan Arkhipov 2021 年 5 月 4 日
回答済み: Chunru 2021 年 5 月 5 日
I am trying to understand what the appropriate scaling factor is for the fft. I have an audio file split into four different segments, and I am trying to look at the different frequency behavior of each segment. I have seen some conflicting information about scaling by dt (1 / sampling frequency), or by the length of the individual segments. Obviously, the general plot behavior is the same for each case (so maybe it doesn't matter), but I don't understand what the scaling here does.

回答 (1 件)

Chunru
Chunru 2021 年 5 月 5 日
For random signal, abs(fft(x))^2 / N is the estimate (biased) of the power spectrum and its unit is power per normalized frequency (which means fs is corresponding to the normalized frequency of 1). abs(fft(x))^2/(N*fs) is the power spectrum with the unit of power/Hz.

カテゴリ

Help Center および File ExchangeAudio I/O and Waveform Generation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by