Documentation Center

  • Trial Software
  • Product Updates


State coordinate transformation for state-space model


sysT = ss2ss(sys,T)


Given a state-space model sys with equations

or the innovations form used by the identified state-space (IDSS) models:

(or their discrete-time counterpart), ss2ss performs the similarity transformation on the state vector x and produces the equivalent state-space model sysT with equations.

or, in the case of an IDSS model:

sysT = ss2ss(sys,T) returns the transformed state-space model sysT given sys and the state coordinate transformation T. The model sys must be in state-space form and the matrix T must be invertible. ss2ss is applicable to both continuous- and discrete-time models.


Perform a similarity transform to improve the conditioning of the A matrix.

T = balance(sys.a)
sysb = ss2ss(sys,inv(T))

See Also


Was this topic helpful?