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

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

[Octave-bug-tracker] [bug #63393] [octave forge] (control) Bode plot pro


From: Torsten Lilge
Subject: [Octave-bug-tracker] [bug #63393] [octave forge] (control) Bode plot problem. Different results between MATLAB and Octave.
Date: Fri, 3 Feb 2023 15:21:20 -0500 (EST)

Follow-up Comment #22, bug #63393 (project octave):

It seems that the bode plot of proportional but unstable systems starts with a
phase not equal to zero in Matlab, like, e.g.


G = tf (1,[1 -2 1]);
bode (G)


Therefore, the phase for your example in Octave looks correct, except for the
phase at 400 < w < 1000 when not using a sufficiently high number of frequency
samples.

Actually, when applying Dimitri's patch in comment #17 and the frequency range
from comment #13, the bode plot looks good on my system.

To summarize, we have the following two issues:
* Evaluation of polynomials not numerically robust
* Numerical issues (especially in the phase) depend on the number frequency
samples of the bode plot
Or am I missing something?



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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