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