Understanding the Spectrogram function

3 ビュー (過去 30 日間)
frank din
frank din 2019 年 5 月 8 日
回答済み: Priyank Sharma 2019 年 5 月 14 日
The y- axis of the spectrogram plot shows normalized frequencies that go up to 1, but the 's' matrix that stores the spectrogram properties has values that go up to 3000. Why is that?

回答 (1 件)

Priyank Sharma
Priyank Sharma 2019 年 5 月 14 日
The output 's' of the functioni is the Short-time Fourier transform which is returned as a matrix.
In the matrix, time increases across the columns of s and frequency increases down the rows, starting from zero.
If x is a signal of length Nx, then s has k columns, where
  • k = ⌊(Nxnoverlap)/(windownoverlap)⌋ if window is a scalar.
  • k = ⌊(Nxnoverlap)/(length(window)noverlap)⌋ if window is a vector.

カテゴリ

Help Center および File ExchangeTime-Frequency Analysis についてさらに検索

タグ

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by