Statistics from spectrogram

1 view (last 30 days)
Alan
Alan on 24 Jan 2011
Hello,
I'm a new matlab user working with the student version. I'm working on a project where I analyze short ultrasonic calls produced by mice. I've been viewing the calls with a spectrogram, and am trying to determine a few statistics from them. I would like to know the frequency that each call starts and ends at, the maximum and minimum frequency of each call, and the frequency of the maximum amplitude. Is there a way to calculate these frequencies without viewing the spectrogram?
Thank you for your time and attention.
-Alan

Answers (1)

Andreas Goser
Andreas Goser on 25 Jan 2011
When you use the SPECTROGRAM command in the following way, no MATLAB figure is created:
T = 0:0.001:2;
X = chirp(T,100,1,200,'q');
[S,F,T,P]=spectrogram(X,128,120,128,1E3);

Categories

Find more on Time-Frequency Analysis in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!