[bug #68196] [octave forge] (control) Wrong phase in bode plot

controldesigner <[email protected]>
Newsgroups gmane.comp.gnu.octave.bugs
Message-ID <[email protected]>
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.

Follow-up Comment #7, bug #68196 (group octave):

Fix seems to work for the specific scenario, but is off by 180 deg for the
following

alpha = 2*pi;
Gf = alpha/(z-(1-alpha));
Gnew = Gf*G

[M,P,W] = bode(Gnew, w);
P(1)*pi/180 -> 1.5698

H = freqresp(Gnew,w);
angle(H)(1) -> -1.5718


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCacrkKQAKCRCqLAuaBUf3
TiBTAQCq6Hz+lV9lZxvUcJi2RF0j548GoDo4YVihG5699azCjwEA2Qmk23sc1x7J
U9KgVzOKu+0dwtSQJ2TsbLv3vN5eBQI=
=A0Sy
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.