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

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

[Octave-bug-tracker] [bug #42495] control package: bode does not accept


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #42495] control package: bode does not accept a scalar as w
Date: Thu, 15 Jan 2015 03:09:54 +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 #42495 (project octave):

                  Status:                    None => Need Info              
                 Summary: control : __frequency_response__ does not accept a
scalar as w => control package: bode does not accept a scalar as w

    _______________________________________________________

Follow-up Comment #1:

Thanks for your bug report. I can't confirm, no access to Matlab's control
toolbox at the moment, but what you describe seems reasonable based on a quick
reading of http://www.mathworks.com/help/control/ref/bode.html. Namely,
whether w is a vector or a scalar, bode should plot or return the evaluation
of the system at the discrete frequencies in w.

If someone with access to the control toolbox can run a test, try


sys = tf(1, [1 1]);
[mag, phase] = bode(sys);
size(mag), size(phase)
[mag, phase] = bode(sys, [0.1 1 10 100]);
size(mag), size(phase)
[mag, phase] = bode(sys, [1 1])
[mag, phase] = bode(sys, 1)



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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