Re: [bug #68195] Incorrect Bode plots with ILL-conditioned systems

Doug Stewart <[email protected]>
Newsgroups gmane.comp.gnu.octave.bugs
Message-ID <CAAohRsYxLYw9Ax4wMAvdXF=eyDpS0tXMkWuZQSkf15-GmFseXw@mail.gmail.com>
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.

Those 2 Bode plots are from completely different transfer functions.

starting magnitude is different
ending  phase angle is different

Uper significant frequency is different.

I can't test it now.


On Mon, 30 Mar 2026 at 09:22, Luiz Antonio Maccari Junior <
[email protected]> wrote:

> 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 #1, bug #68195 (group octave):
>
> If someone wants to test it on MATLAB the code is:
>
> -----------------------------
>
> clear
> clc
> close all
>
> load('octave')
>
> fields = fieldnames(So_KF);
>
> fields
>
> num1=So_KF.num{1,1}.poly
> den1=So_KF.den{1,1}.poly
>
> So_KF_tf = tf(num1,den1)
>
>
> num2=So_LQG.num{1,1}.poly
> den2=So_LQG.den{1,1}.poly
>
> So_LQG_tf = tf(num2,den2)
>
> freq=[1:10:10e4];
>
> figure
> bode(So_LQG_tf,freq)
>
> figure
> bode(So_KF_tf,freq)
>
> -----------------------------------
>
>
>
>     _______________________________________________________
>
> Reply to this item at:
>
>   <https://savannah.gnu.org/bugs/?68195>
>
> _______________________________________________
> Message sent via Savannah
> https://savannah.gnu.org/
>


-- 
DAS[image: Certificate for 206392]

<https://linuxcounter.net/user/206392.html>
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.