sound

how to get a 3D spectrogram plot? in terms of time, frequency,intensity for a audio signal, please someone help me,,, thanks,,,,,,,

Risposte (1)

Wayne King
Wayne King il 25 Ott 2011

0 voti

Just use surf() with your time, frequency, and intensity variables.
t=0:0.001:2;
x=chirp(t,0,1,150);
F = 0:.1:100;
[y,f,t,p] = spectrogram(x,256,250,F,1E3,'yaxis');
surf(t,f,10*log10(abs(p)),'EdgeColor','none');
axis xy; axis tight; colormap(jet);
xlabel('Time');
ylabel('Frequency (Hz)');
view(-21,38);

Categorie

Scopri di più su Simulation, Tuning, and Visualization in Centro assistenza e File Exchange

Tag

Richiesto:

il 25 Ott 2011

Community Treasure Hunt

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

Start Hunting!

Translated by