STFT result - what is the amplitude?

21 ビュー (過去 30 日間)
Przemyslaw Pietrzak
Przemyslaw Pietrzak 2022 年 1 月 17 日
回答済み: Pratyush Roy 2022 年 1 月 20 日
Hello,
I would like to ask how to interpet the result figure of the stft(x,fs,..) function?
The magnitude value in dB does not fit to the amplitudes that I get from the fft analysis.
Thanks in advance.

回答 (1 件)

Pratyush Roy
Pratyush Roy 2022 年 1 月 20 日
Hi Przemyslaw,
STFT is different from FFT since the former tries to answer what frequency component is present in a sginal and at what instant whereas the latter only tries to answer what frequency component is present. Hence STFT tries to break down the entire signal into overlapping frames(e.g., in the command mentioned above 50 is the overlap length), performs weighing individual signal points with a window function(Hamming as mentioned in the above command) to avoid spectral leakage, and then perform FFT on individual frames. Here the transform length is equal to the length of the frame, as comapred to FFT where the transform length is the length of the entire signal.
Hence windowing and variable transform length might be responsible for the result to be different from FFT magnitude,
Please refer to this link for more information.
Hope this helps!

カテゴリ

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

タグ

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by