please, how can i plot and measure the states here i can only plot the output .

 Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 6 May 2016
Edited: Azzi Abdelmalek on 6 May 2016
Let us take a third order SISO system, The output y=C*[x1;x2;x3]. If you have
C=[ 2 4 1]
If you want to see the 3 states x1,x2,x3. Change the value of C to
C=[2 4 1;eye(3)]
You will get 4 output: y,x1,x2,x3
You need also to change the value of D. If D is already equal to 0, chage it to
D=zeros(4,1)

More Answers (0)

Categories

Find more on Control System Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!