Example of Augmenting State Variables to Output Variables in MATLAB
First, write out the four matrices of the system’s state-space model, call augstate() to output the system state, and use the step function step() to observe the output curve. %% Augmenting state variables to output variables %%x’ = A * x + B * u;%% [y; x] = [C; I] * x + [D; 0] … Read more