tftb-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tftb-help] TFRSP.m error on real life signal (fwd)


From: Eric Chassande-Mottin
Subject: [Tftb-help] TFRSP.m error on real life signal (fwd)
Date: Thu, 1 Jun 2006 16:39:11 +0200 (CEST)



hi,

lets call N the number of samples of your signal:

y=wavread('heartbeat1.wav');
N=length(y)

by default tfrsp sets the number of time bins to N
and also the number of frequency bins. so the resulting
matrix is of size N^2.

clearly, your signal is very long, N is very large,
and you don't have sufficient memory to create a matrix
of size N^2.

this is the meaning of the error message :

Product of dimensions is greater than maximum integer.

read the online help carefully in order to know how to
set the number of time and frequency bins to smaller values.

eric.

---------- Forwarded message ----------
Date: Thu, 01 Jun 2006 17:11:46 +0800
Subject: TFRSP.m error on real life signal

Hi, Eric,

I encoutered one problem when using "TFRSP.m" (to caluculate the
spectrogram)to test on real life signal. eg, test on the attached .wav file.

In Matlab command, I key in following:
[Y,FS,NBITS]=wavread('heartbeat1.wav');sig=Y(:,1);tfrsp(sig)

But I got this error msg:
"For a faster computation, N should be a power of two
??? Error using ==> zeros
Product of dimensions is greater than maximum integer.

Error in ==> \tftb\mfiles\TFRSP.M
On line 81  ==> tfr= zeros (N,tcol) ; "

Could you pls help on it?

thanks,
Jocelyn

_________________________________________________________________
Find love on MSN Personals http://personals.msn.com.sg/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]