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

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

[Octave-bug-tracker] [bug #60423] [octave forge] (signal) buttord incorr


From: Charles Praplan
Subject: [Octave-bug-tracker] [bug #60423] [octave forge] (signal) buttord incorrect result
Date: Tue, 4 May 2021 12:37:32 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0

Follow-up Comment #4, bug #60423 (project octave):

buttord calculates the minimum filter order to satisfy a specification.
In most cases, the theoretical minimum order is not an entire number and
must be rounded up.

This theoretical order would let the response touch both the pass band
corner and the stop band corner.
The filter with the rounded order will not touch both corners.

You have the choice to let the response touch the pass band corner, the
stop band corner or neither one, by choosing Wn (value passed to butter)
respectively as WC_P, WC_S or any value between WC_P and WC_S.

More generally, note that Matlab and Octave may deliver different results
which are both correct.
Some problems have several possible solutions, as the above example shows.
Another example is the way to pair zeros and poles in second order sections...

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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