Time changes of sound power spectrum

1 visualizzazione (ultimi 30 giorni)
Vratislav
Vratislav il 21 Dic 2014
Risposto: Image Analyst il 21 Dic 2014
Hello,
I would like to evaluate power spectrum (amplitude) changes in several tens of seconds length sound record, only on some chosen frequencies. E.g. on 1,5kHz and 2kHz. I need to plot the changes as a time curves. No spectragraph.
V.

Risposte (1)

Image Analyst
Image Analyst il 21 Dic 2014
Look up help on pwelch() and plot(). Get the spectrum, extract the value at the element corresponding to 1.5 and 2 kHz. Repeat for every spectrum and build up an array, then plot it.

Community Treasure Hunt

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

Start Hunting!

Translated by