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

Luiz Antonio Maccari Junior <[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.

URL:
  <https://savannah.gnu.org/bugs/?68195>

                 Summary: Incorrect Bode plots with ILL-conditioned systems
                   Group: GNU Octave
               Submitter: luiz
               Submitted: Mon 30 Mar 2026 01:19:37 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Luiz Antonio Maccari Jr.
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Unlocked
                 Release: 11.1.0
        Operating System: Any
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mon 30 Mar 2026 01:19:37 PM UTC By: Luiz Antonio Maccari Junior <luiz>
Hi,

I am working with ill-condioned systems. And the bode plots are being plotted
with a strange noise. In order to reproduce it I am providing the annexed
"octave.mat" file and using the following code:


load('octave')

freq=[1:10:10e4];

figure
bode(So_LQG,freq)

figure
bode(So_KF,freq)


The bode plot I getting in Octave is:

fig1.png

However, with MATLAB the bode plot is more coherent and seems to be correct as
can be seen in 

Figure_3.png

Best regards.







    _______________________________________________________
File Attachments:

Name: octave.mat                     Size: 1.2KiB
    <https://file.savannah.gnu.org/file/octave.mat?file_id=58412>

Name: Figure_3.png                   Size: 54KiB
    <https://file.savannah.gnu.org/file/Figure_3.png?file_id=58413>

Name: fig1.png                       Size: 59KiB
    <https://file.savannah.gnu.org/file/fig1.png?file_id=58414>



    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-f290f6b25beb8cb99bbe243a6cd2c5fef79ffcde.tar.gz

    _______________________________________________________

Reply to this item at:

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

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

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCacp4cQAKCRCqLAuaBUf3
Tg5YAQCM4BDcZjachd5r9vmdVbHwLzZtaVuRaclI8HW8bf9ujAEA1UfIasAqE3JF
Bu3ZtWlSQYAfIpNlDBbZZFjiV3n+PQM=
=X6Zc
-----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.