Understanding the Spectrogram function

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일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 Time-Frequency Analysis에 대해 자세히 알아보기

제품

릴리스

R2018b

태그

질문:

2019년 5월 8일

답변:

2019년 5월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by