Skip to content

final_states.m

Basic Information

  SYNTAX:  [x,y,resid] = final_states(A,B,C,D,u)

  PURPOSE:  Compute final states for system with constant input u.

  INPUT:
    A,B,C,D = system matrices
    u = (constant) input vector

  OUTPUT:
    x = states of system
    y = steady state output with input u
    resid = residual error (LHS*x - RHS)

Dependencies