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

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

Re: [Octave-bug-tracker] [bug #40155] Octave does not produce same resul


From: Doug Stewart
Subject: Re: [Octave-bug-tracker] [bug #40155] Octave does not produce same results as Matlab for iir scripts
Date: Tue, 1 Oct 2013 10:30:26 -0400

try changing this line
sos=zp2sos(Z,P,K);                      % Convert ZP to SOS 

to this line
sos=zp2sos(Z',P',K);                      % Convert ZP to SOS 


for some reason butter is returning a row vector for Z and P but zp2sos wants a column vector.




On Tue, Oct 1, 2013 at 10:08 AM, Michael Fontes <address@hidden> wrote:
Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only notification stream.  Info posted to this mailing list address won't appear in the tracker database where it is most useful.

Mike,

My problem is that I don't have a copy of Matlab to run the script in pieces.  I got the Matlab results from an engineer at TI who could run the Matlab for me. I can run the Octave, but I am a newbie so I don't know how to break the scripts into workable pieces yet.

It seems to me that the Script must contain a scaling function whose results differ from the Matlab incarnation of the same function.

I also don't know how to get my message to the help list. Can oou tell me how to do that?

Sincerely,

Mike Fontes

-----Original Message-----
From: Mike Miller [mailto:address@hidden]
Sent: Tuesday, October 01, 2013 9:52 AM
To: Mike Miller; Michael Fontes; address@hidden
Subject: [bug #40155] Octave does not produce same results as Matlab for iir scripts

Update of bug #40155 (project octave):

                  Status:                    None => Need Info
        Operating System:       Microsoft Windows => Any

    _______________________________________________________

Follow-up Comment #1:

Hi Mike, you have posted to the Octave bug tracker, but your message seems
more suited to the help list (address@hidden). You have not identified
a specific bug, not that there aren't any bugs in the signal package. There
are probably at least 2 bugs at work here. Our goal is indeed to make the
signal package compatible with Matlab.

I can confirm your results by running the attached script, but that's as far
as I've gone with it.

Please ask your question on the help mailing list instead, which is read by
many more people who can better help you with what you are working on.

I'll leave this open for now, but there is not much that can be done here
until you can identify which particular function(s) are giving different
results from Matlab. Please do try to find those differences if you want to
help improve the quality of the Octave signal package.

    _______________________________________________________

Reply to this item at:

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

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





--
DAS

https://linuxcounter.net/user/206392.html

reply via email to

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