spectrogram having as input a vector F

2 views (last 30 days)
Ana Maria Tome
Ana Maria Tome on 2 Apr 2020
Commented: Ana Maria Tome on 12 Apr 2020
The variant of spectrogram with an input vector F?
[S,freq,time, P]= spectrogram(x, 128,64, 2:0.1:30, 512)?
The estimation of S (and P) are achieved using what method? What is the principle behind the calculations ?

Answers (1)

Asvin Kumar
Asvin Kumar on 12 Apr 2020
The spectrogram function computes the Short-Time Fourier Transform (STFT).
The STFT will be computed at frequencies (in Hz) specified by the values in ‘f’ when called with the form:
[s,f,t,p] = spectrogram(x,window,noverlap,f,fs)
The principal in this form is the same as the principal in all the other forms of the function.
  1 Comment
Ana Maria Tome
Ana Maria Tome on 12 Apr 2020
Thank you very much. Meanwhile I figure out that this form uses Goertzel algorithm or czt transform.

Sign in to comment.

Categories

Find more on Time-Frequency Analysis in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!