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

"Dmitri A. Sergatskov" <[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 #6, bug #68196 (group octave):

That works too, though I would add some tolerance:

 n_poles_at_origin = sum (abs (all_poles{h} - pole_zero) < tol);
    n_zeros_at_origin = sum (abs (all_zeros{h} - pole_zero) < tol);


Not quite sure what is `tol` should be `eps` or `sqrt(eps)`.
(`eps` is probably still too strict)

Dmitri.
-- 



    _______________________________________________________

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-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCacrbKwAKCRCqLAuaBUf3
TvuIAP9l3ggEaZP3nbSqS18RfIvyKgYThabV28kHFJaFnYJIwAEA/Ou0746gYR6s
ujugQCCFAdBgbB93ZfyU/glW+e9I0AI=
=i6Ol
-----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.