Different between plot after STFT and that using the surf function in Matlab

Can you help me understand the difference between the spectogram formed after using the stft function in matlab and that formed after assigning the stft to a variable and then plotting the same with surf function
ex
difference between plots achieved after
[SV,FV,TV]=stft(y,fs,'Window',win,'OverlapLength',5120,'FFTLength',fs,'FrequencyRange','onesided');
surf(TV,FV,20*log10(abs(SV)));
and that using
stft(y,fs,'Window',win,'OverlapLength',5120,'FFTLength',fs,'FrequencyRange','onesided');

 Respuesta aceptada

Voss
Voss el 4 de Dic. de 2021
One surface is of SV and one is of 20*log10(abs(SV)). Does that explain the difference you observe?

Más respuestas (0)

Etiquetas

Preguntada:

el 4 de Dic. de 2021

Respondida:

el 4 de Dic. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by