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

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

[Octave-bug-tracker] [bug #56851] butter returns incorrect value


From: Henk Borsje
Subject: [Octave-bug-tracker] [bug #56851] butter returns incorrect value
Date: Tue, 3 Sep 2019 03:12:32 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0

Follow-up Comment #3, bug #56851 (project octave):

It sure does look like a round-off error, but one with grave consequences. 
This filter spec is not unreasonable.  Changing the spec to e.g.
butter(4,1/28800) works correctly, as well as butter (5,1/28801).  The
resulting sum(a) = 0 causes a division by 0 when one tries to use the filter. 
 MATLAB handles this case correctly, so it sounds like a bug to me.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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