spectrogram plotting of Amplitude frequency vs. frame
    2 ビュー (過去 30 日間)
  
       古いコメントを表示
    
Hi,
I used spectrogram matlab function in order to obtain a STFT as follows:
nfft=1024;
noverlap=nfft/2;
wnd= hamming(nfft,'periodic');
[Y, F, T, P] = spectrogram (y, wnd, noverlap, nfft, fs);
Now, I am trying to plot a 3D plot of frequency , amplitude for each frame I have. can anyone help please.
Thanks in advance
0 件のコメント
採用された回答
  Star Strider
      
      
 2014 年 12 月 14 日
        spectrogram(...) plots the PSD estimate for each segment on a surface in a figure window. The plot is created using
surf(T,F,10*log10(abs(P)));
axis tight;
view(0,90);
So to get your 3D plot, simply comment out (or remove) the view(0,90) call, or change it to a different azimuth and elevation.
6 件のコメント
その他の回答 (0 件)
参考
カテゴリ
				Help Center および File Exchange で Time-Frequency Analysis についてさらに検索
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

