[x0,V,rcnd] = inistate(SYS,Y,U,TOL,PRINTW) returns, besides x0,
the orthogonal matrix V which reduces the system state matrix A to
a real Schur form, as well as an estimate of the reciprocal condition
number of the coefficient matrix of the least squares problem solved.

Examples

//generate data from a given linear systemA=[0.5,0.1,-0.1,0.2;0.1,0,-0.1,-0.1;-0.4,-0.6,-0.7,-0.1;0.8,0,-0.6,-0.6];B=[0.8;0.1;1;-1];C=[12-10];SYS=syslin(0.1,A,B,C);nsmp=100;U=prbs_a(nsmp,nsmp/5);Y=(flts(U,SYS)+0.3*rand(1,nsmp,'normal'));// Compute RS=15;[R,N1,SVAL]=findR(S,Y',U');N=3;SYS1=findABCD(S,N,1,R);SYS1.dt=0.1;inistate(SYS1,Y',U')

See Also

findBD — initial state and system matrices B and D of a discrete-time system

findx0BD — Estimates state and B and D matrices of a discrete-time linear system