On 2012-08-30 15:12, Rick T wrote:
Greetings All
I'm trying to test the specgram function located in the signal
package in octave but I'm a little confused at the variables
in specgram. What I would like to do is be able to get the
specgram data into an array that will show the frequency and
the length of time when the frequency starts and stops
You must use the 'stft' (short-time Fourier transform) function
instead. The specgram function is intended primarely for plotting.
<plug> or use the 'dgtreal' function from LTFAT. There is a
description here: http://ltfat.sourceforge.net/doc/gabor/dgtreal.php
. Actually, the stft function in Octave does almost the same, even
the order of the parameters is almost the same, so learn from both
pieces of documentation. </plug>
Cheers,
Peter.
|