octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #63791] movmean - out of memory or dimension t


From: Liang Tang
Subject: [Octave-bug-tracker] [bug #63791] movmean - out of memory or dimension too large for index type
Date: Sun, 12 Feb 2023 06:50:47 -0500 (EST)

Follow-up Comment #15, bug #63791 (project octave):

I will not go into discussion of the filter approach.  I did repeat Dmitri's
examples in a different order, movmean is the last one:

>>
>> a= rand(1e6,1);
>> N = 513;
>> tic; c = filter(ones(1,N)/N, 1, a); toc
Elapsed time is 0.527736 seconds.
>> tic; d = filtfilt(ones(1,N)/N, 1, a); toc
Elapsed time is 1.39225 seconds.
>> tic; b = movmean(a, N); toc
error: out of memory or dimension too large for Octave's index type
error: called from
    movfun>movfun_oncol at line 299 column 10
    movfun at line 282 column 14
    movmean at line 138 column 5


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63791>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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