help-octave
[Top][All Lists]
Advanced

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

Error in `xcorr` (Signal package) "out of memory or dimension too large


From: Fabcap77
Subject: Error in `xcorr` (Signal package) "out of memory or dimension too large for Octave's index type"
Date: Wed, 7 Mar 2018 18:22:03 -0700 (MST)

I need to calculate the autocorrelation coefficients for a vector of 744
elements, but `xcorr` fails returning this error message:

   error: out of memory or dimension too large for Octave's index type
   error: called from:
   error:   /home/$user/octave/signal-1.3.2/xcorr.m at line 203, column 7

The behaviour can be reproduced with:

   var = stdnormal_rnd(744);
   [r, lg] = xcorr(var, length(var)/2-1);

Can nybody help to fix this problem?



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html



reply via email to

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