State space in simulink
1 view (last 30 days)
Show older comments
Muhammed Adel
on 5 May 2016
Commented: Muhammed Adel
on 8 Oct 2016
please, how can i plot and measure the states here i can only plot the output .
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/163490/image.png)
0 Comments
Accepted Answer
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)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!