Prev: polyfitn , polyn2sym
Next: Dual axis plots
From: Ernesto on 4 Oct 2009 14:05 Dear Sirs, please I would want to know if somebody have an idea about how to do the following: I've got a model of my system using the n4sid tool; I set it in order to get a continuous time model; ze is my iddata model with experimental input and two outputs mc = n4sid(ze,order,'Ts',0,'ssp','can','ini','z') So this gives me the A,B,C,D,K matrixes, that are in the equations: x(t+Ts) = A x(t) + B u(t) + K e(t) y(t) = C x(t) + D u(t) + e(t) but now I need to conver this model to discrete time, to get it I used the tool: [F,G,H,J]=c2dm (mc.A,mc.B,mc.C,mc.D,Ts,'zoh') But, I realize this way I cannot get the discrete version of the previous K matrix; please could somebody give me a hint about how to get it? thanks a lot
|
Pages: 1 Prev: polyfitn , polyn2sym Next: Dual axis plots |