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

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

[Octave-bug-tracker] [bug #44008] freqz nuance


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #44008] freqz nuance
Date: Thu, 15 Jan 2015 02:12:17 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36

Update of bug #44008 (project octave):

              Item Group:                   Other => Incorrect Result       
                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #1:

Thanks for your bug report. I believe you are simply passing the wrong input
to the freqz function. Please note that the object returned by the control
package system functions is a cell array of vectors. To get the numerator and
denominator as ordinary row vectors, use Hz.num{1} and Hz.den{1}.

And I don't know what you saw to suggest zero-padding the numerator, or what
bug report you referred to in the attached file (can you provide a link?). But
try updating your script to use the following call to freqz instead:


[fr, w] = freqz (Hz.num{1}*k, Hz.den{1}, 20);


Does this produce what you expect? Do you expect to be able to get this result
in a different way that is not working?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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