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

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

[Octave-bug-tracker] [bug #60075] Incorrect behavior with octave bode wi


From: Nidish Narayanaa Balaji
Subject: [Octave-bug-tracker] [bug #60075] Incorrect behavior with octave bode with complex state space model
Date: Thu, 18 Feb 2021 08:07:03 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:85.0) Gecko/20100101 Firefox/85.0

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

                 Summary: Incorrect behavior with octave bode with complex
state space model
                 Project: GNU Octave
            Submitted by: nidish
            Submitted on: Thu 18 Feb 2021 01:07:02 PM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Nidish Narayanaa Balaji
        Originator Email: 
             Open/Closed: Open
                 Release: 5.2.0
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I have attached a code wherein I'm generating an interpolatory model of a
simple SDOF oscillator with the Loewner framework.

I introduce a similarity transformation to convert the matrices to real
projection and then create two state space systems - one is complex and
another is real. 

When I use "bode" to compute the frequency responses, only the real system
gives me the correct result - the complex system is incorrect. The same code
works perfectly on MATLAB, though.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 18 Feb 2021 01:07:02 PM UTC  Name: sdof.m  Size: 900B   By: nidish

<http://savannah.gnu.org/bugs/download.php?file_id=50877>
-------------------------------------------------------
Date: Thu 18 Feb 2021 01:07:02 PM UTC  Name: sdof.m  Size: 900B   By: nidish

<http://savannah.gnu.org/bugs/download.php?file_id=50878>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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