patchGNU Octave - Patches: patch #9347, [octave forge] (control) Make...

 
 

patch #9347: [octave forge] (control) Make __ss_dim__.m work with complex-valued matrices

Submitter:  Alexander Wilms <alexanderw>
Submitted:  Sun 14 May 2017 12:04:32 AM UTC
   
 
Category:  Forge : other Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 16 Feb 2018 04:54:39 PM UTC, comment #2: 

This has been merged.

Alexander Wilms <alexanderw>
Sun 08 Oct 2017 12:55:48 PM UTC, comment #1: 

Add package maintainer.

Kai Torben Ohlhus <siko1056>
Group Member
Sun 14 May 2017 12:04:32 AM UTC, original submission:  


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.

Alexander Wilms <alexanderw>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #40680:  __ss_dim__.patch added by alexanderw (424B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by i7tiol (Updated the item)
  • -email is unavailable- added by siko1056 (Posted a comment)
  • -email is unavailable- added by siko1056 (Add package maintainer.)
  • -email is unavailable- added by alexanderw (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-02-16 i7tiol StatusNone Done
        Open/ClosedOpen Closed
    2017-10-08 siko1056 CategoryNone Forge : other
        SummaryMake _ss_dim_.m work with complex-valued matrices [octave forge] (control) Make _ss_dim_.m work with complex-valued matrices
        Carbon-Copy- Added lukas reichlin <lukas.reichlin@gmail.com>
    2017-05-14 alexanderw Attached File- Added _ss_dim_.patch, #40680

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code