[S,F,T] = SPECTROGRAM(...) returns a vector of frequencies F and a
vector of times T at which the spectrogram is computed. F has length
equal to the number of rows of S. T has length k (defined above) and
its value corresponds to the center of each segment.
[S,F,T] = SPECTROGRAM(X,WINDOW,NOVERLAP,F,Fs) where F is a vector of
frequencies in Hz (with 2 or more elements) computes the spectrogram at
those frequencies using the Goertzel algorithm. The specified
frequencies in F are rounded to the nearest DFT bin commensurate with
the signal's resolution.
[S,F,T,P] = SPECTROGRAM(...) P is a matrix representing the Power
Spectral Density (PSD) of each segment. For real signals, SPECTROGRAM
returns the one-sided modified periodogram estimate of the PSD of each
segment; for complex signals and in the case when a vector of
frequencies is specified, it returns the two-sided PSD.
Partager