help-octave
[Top][All Lists]
Advanced

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

Re: ss error


From: address@hidden
Subject: Re: ss error
Date: Mon, 22 Nov 2010 12:19:40 -0800 (PST)

thank! now run
bye

2010/11/22 John W. Eaton [via Octave] <[hidden email]>
On 21-Nov-2010, [hidden email] wrote:

| sorry .....this is the result....
| octave:5> sys=ss(A,B',C',J)
| warning: abcddim: a(4x4) and c(4x1) are not compatible
| error: a(4x4), b(4x1), c(4x1), d(1x1); incompatible
| error: called from:
| error:   /usr/share/octave/packages/3.2/control-1.0.11/ss.m at line 210,
| column 5
|
| why?!?

For a state space system

  xdot = Ax + Bu
     y = Cx + Du

the normal dimensions are

   x(Nx1)  u(Mx1)  y(Px1)

   A(NxN)  B(NxM)  C(PxN)  D(PxM)

You apparently have N = 4 states, M = 1 inputs, and P = 1 outputs, so
the dimensions of your system need to be

  A(4x4)  B(4x1)  C(1x4)  D(1x1)

jwe
_______________________________________________
Help-octave mailing list
[hidden email]

View message @ http://octave.1599824.n4.nabble.com/ss-error-tp3052526p3054174.html
To unsubscribe from ss error, click here.



--
cordiali saluti
stefano borsarelli


View this message in context: Re: ss error
Sent from the Octave - General mailing list archive at Nabble.com.

reply via email to

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