[Top][All Lists]

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

[Octave-bug-tracker] [bug #48774] Functions for moving statistics

From: Juan Pablo Carbajal
Subject: [Octave-bug-tracker] [bug #48774] Functions for moving statistics
Date: Wed, 19 Dec 2018 08:28:28 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0

Follow-up Comment #22, bug #48774 (project octave):

Hi Rik,

I am merging your changes ot the external repo and I can't fin the following

   # Check for proper window length
    # TODO: Matlab accepts even windows
    if (mod (wlen, 2) == 0)
      error ('Octave:invalid-input-arg', 'Window must be of odd length');
    if (wlen == 1)
      error ('Octave:invalid-input-arg', 'Window must be larger than 1');

Where are they? The algortium won't work correctly for even window length, and
the result for length 1 is not correct due to the changing behavior of
functions that run on columns (e.g. mean of an 1-by-n array will give a single


Reply to this item at:


  Message sent via Savannah

reply via email to

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