Main Content

Extract Output Elements of Feedback System

This example demonstrates how to extract the output elements of a state-space system that uses vector signals.

Open the example model.

These equations define the state-space system:

$$\dot{x} = Ax - BKx + Bu$$

$$y = Cx$$

To ensure that the system is stable, the state feedback vector $K$ is chosen such that the eigenvalues of $A - BK$ equal $-1+i$, $-1-i$, $-2$, and $-3$.

The Demux block extracts the two elements from the output vector $y$. Then, the Scope block separately plots each element it receives.

See Also