Implementation of Spectogram Code

2 vues (au cours des 30 derniers jours)
Partha
Partha le 15 Nov 2014
Modifié(e) : Geoff Hayes le 15 Nov 2014
Is there is any difference between the following codes?
NS = Noisy Signal;
windowsize = 128;
window = hanning(windowsize);nfft = windowsize;noverlap = windowsize-1;
[S_NS F_NS T_NS P_NS] = spectrogram(NS,window,noverlap,nfft,Fs,'yaxis');
AMP_NS = 10*log10(abs(S_NS));
imagesc(T_NS*1e3,F_NS*1e-6,AMP_NS)
and
spectrogram(NS,window,noverlap,nfft,Fs,'yaxis');

Réponses (0)

Catégories

En savoir plus sur Signal Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by