Append state vector to output vector
asys = augstate(sys)
asys = augstate(sys) appends the state vector to the outputs of a state-space model.
Given a state-space model sys with equations
(or their discrete-time counterpart), augstate appends the states x to the outputs y to form the model
This command prepares the plant so that you can use the feedback command to close the loop on a full-state feedback u = −Kx.
Because augstate is only meaningful for state-space models, it cannot be used with TF, ZPK or FRD models.