sysfact system factorization Calling Sequence [S,Series]=sysfact(Sys,Gain,flag) Arguments Sys syslin list containing the matrices [A,B,C,D]. Gain real matrix flag string 'post' or 'pre' S syslin list Series syslin list Description If flag equals 'post', sysfact returns in S the linear system with ABCD matrices (A+B*Gain, B , Gain, I), and Series, a minimal realization of the series system Sys*S. If flag equals 'pre', sysfact returns the linear system (A+Gain*C, Gain , C, I) and Series, a minimal realization of the series system S*Sys. Examples See Also lqr lqe