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

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

[Octave-patch-tracker] [patch #9347] Make __ss_dim__.m work with complex


From: Alexander Wilms
Subject: [Octave-patch-tracker] [patch #9347] Make __ss_dim__.m work with complex-valued matrices
Date: Sat, 13 May 2017 20:04:34 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36

URL:
  <http://savannah.gnu.org/patch/?9347>

                 Summary: Make __ss_dim__.m work with complex-valued matrices
                 Project: GNU Octave
            Submitted by: alexanderw
            Submitted on: Sun 14 May 2017 12:04:32 AM UTC
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:


A = [  2.0000e+000 + 1.0000e+000i  -3.3307e-016 + 3.3307e-016i;
  -5.5511e-016 - 3.3307e-016i  2.0000e+000 - 1.0000e+000i]
B = [0.0000 + 1.2247i;
   0.0000 - 1.2247i]
C = [2.8577 - 0.4082i   2.8577 + 0.4082i]
D = 0
ss(A,B,C,D)


causes the following error right now:


error: ss: system matrices must be real-valued
error: called from
    __ss_dim__ at line 29 column 5
    ss at line 234 column 10
    canon at line 63 column 8


With the patch, ss functions like in Matlab in this regard. Not sure why the
check was in there.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 14 May 2017 12:04:32 AM UTC  Name: __ss_dim__.patch  Size: 424B  
By: alexanderw

<http://savannah.gnu.org/patch/download.php?file_id=40680>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?9347>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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