the state representation of the dynamic system
1 回表示 (過去 30 日間)
古いコメントを表示
belal hariz belgacem
2019 年 6 月 6 日
コメント済み: belal hariz belgacem
2019 年 6 月 6 日
state equation
A B
![Capture.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/223364/Capture.png)
exit equation
C
![Capture.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/223365/Capture.png)
K=2; K1=0.5; L=0.02; R=2; J=0.0005; f=0.00008; Cr =20 N.m
![Capture.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/223366/Capture.png)
0 件のコメント
採用された回答
Priysha Aggarwal
2019 年 6 月 6 日
Error is in line 8
x = A*x + B*U
To be able to multiply A with x, you need to predefine x. You cannot initiate a variable x with an equation which already has x in it.
Solution :
x = 1 %replace 1 by whatever initial value of x is required
x = A*x + B*U
その他の回答 (1 件)
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!