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');

 采纳的回答

One surface is of SV and one is of 20*log10(abs(SV)). Does that explain the difference you observe?

更多回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by