bugGNU Octave - Bugs: bug #42082, Control package function...

 
 

bug #42082: Control package function "series" reports error

Submitted by:  Laurence Shaw <lrshaw>
Submitted on:  Wed 09 Apr 2014 06:40:59 PM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 3.6.4Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 29 Apr 2014 03:30:26 PM UTC, comment #1:

Thanks for your report. I've pushed two changesets which solve the problem:

https://bitbucket.org/paramaniac/control/commits/all

Lukas Reichlin <paramaniac>
Wed 09 Apr 2014 06:40:59 PM UTC, original submission:

error: lti: mtimes: system dimensions incompatible: (1x1) * (4x2)
error: called from:
error: C:\Software\Octave-3.6.4\share\octave\packages\control-2.4.2\@lti\mtime
s.m at line 36, column 5
error: C:\Software\Octave-3.6.4\share\octave\packages\control-2.4.2\@lti\serie
s.m at line 61, column 9

Num1= [1];den1=[1,1];lowpass=tf(Num1,den1)

octave-3.6.4.exe:16> lowpass

Transfer function 'lowpass' from input 'u1' to output ...

1
y1: -----
s + 1
sys= ss(A,B,C,D)

octave-3.6.4.exe:18> cascade=series(sys,lowpass)
error: lti: mtimes: system dimensions incompatible: (1x1) * (4x2)
error: called from:
error: C:\Software\Octave-3.6.4\share\octave\packages\control-2.4.2\@lti\mtime
s.m at line 36, column 5
error: C:\Software\Octave-3.6.4\share\octave\packages\control-2.4.2\@lti\serie
s.m at line 61, column 9
octave-3.6.4.exe:18>

A =

-0.08680 0.03908 0.00000 -1.00000
0.00000 0.00000 1.00000 0.00000
-4.41000 0.00000 -1.18100 0.33400
2.14000 0.00000 -0.02040 -0.22800

octave-3.6.4.exe:12> B
B =

0.00000 0.02220
0.00000 0.00000
2.11000 0.54900
-0.06520 -1.11640

octave-3.6.4.exe:13> C
C =

Diagonal Matrix

1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1

octave-3.6.4.exe:14> D
D =

0 0
0 0
0 0
0 0

Laurence Shaw <lrshaw>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #31146:  octave error.doc added by lrshaw (24KiB - application/msword - Multiple inputs should cause this Octave only situation)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by paramaniac (Posted a comment)
  • -unavailable- added by lrshaw (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 31 May 2015 07:06:10 PM UTCmtmillerStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Wed 09 Apr 2014 06:40:59 PM UTClrshawAttached File-=>Added octave error.doc, #31146

    Back to the top


    Powered by Savane 3.1-cleanup1