Info
此问题已关闭。 请重新打开它进行编辑或回答。
I got a syntax error during simulation any one know why
1 次查看(过去 30 天)
显示 更早的评论
(Rs*Lm)*u(2)-(u(5)*Ls*Lm)*u(1)-(Rs*Ls)*u(3)-(u(5)*Ls*Lr)*u(4)+(u(6)*sigma*Ls*Lr)*u(4)
3 个评论
Devineni Aslesha
2020-6-24
Hi Ahmad, I am not able to replicate the syntax error mentioned by you. Try the following code.
Rs = 1;Lm = 2;u = [1 2 33 4 5 6]; Ls = 3;Lr = 4;sigma = 0.5;
(Rs*Lm)*u(2)-(u(5)*Ls*Lm)*u(1)-(Rs*Ls)*u(3)-(u(5)*Ls*Lr)*u(4)+(u(6)*sigma*Ls*Lr)*u(4)
Provide more details of the code for further help.
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!