Main Content

augstate

Append state vector to output vector

Description

Given a state-space model sys with equations

x˙=Ax+Buy=Cx+Du

(or their discrete-time counterpart), augstate appends the states x to the outputs y to form the model

x˙=Ax+Bu[yx]=[CI]x+[D0]u

This command prepares the plant so that you can use the feedback command to close the loop on a full-state feedback u = −Kx.

For mechss models, augstate appends q to the output for first-order models and [q,q'] for second-order models.

asys = augstate(sys) returns a state-space model asys with the state vector appended to the outputs of state-space model sys.

Input Arguments

collapse all

State-space model with offsets, specified as a state-space model such as ss, sparss, mechss, or idss.

Output Arguments

collapse all

Augmented state-space model, returned as the model of same type as sys.

Version History

Introduced before R2006a