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

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

[Octave-bug-tracker] [bug #40155] Octave does not produce same results a


From: Doug Stewart
Subject: [Octave-bug-tracker] [bug #40155] Octave does not produce same results as Matlab for iir scripts
Date: Tue, 01 Oct 2013 16:19:03 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.76 Safari/537.36

Follow-up Comment #2, bug #40155 (project octave):

I think the problem is in the filter functions

The error line is:
sos=zp2sos(Z,P,K);                      % Convert ZP to SOS 

when I change it to 
sos=zp2sos(Z',P',K);                      % Convert ZP to SOS 
then it is OK.

the zp2sos is expecting  column vectors but the filter designs
are giving row vectors. Matlab says the they use column vectors.

I did not look at the gain problem yet.
Doug

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40155>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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