State space in simulink

1 次查看(过去 30 天)
please, how can i plot and measure the states here i can only plot the output .

采纳的回答

Azzi Abdelmalek
Azzi Abdelmalek 2016-5-6
编辑:Azzi Abdelmalek 2016-5-6
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)

更多回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by