open loop response for nonlinear system
2 次查看(过去 30 天)
显示 更早的评论
Good day everyone. How do I simulate nonlinear system in open loop in matlab? I have this nonlinear system and I want to observe the response before applying controller. How do I do that? Please help with the code. Thanks.
0 个评论
采纳的回答
Jon
2019-8-14
Basically you need to define the set of ODE's (ordinary differential equations) that define your system and then solve them. MATLAB has many routines for solving ODE's, Please see the documentation at https://www.mathworks.com/help/matlab/ordinary-differential-equations.html?s_tid=CRUX_lftnav
After you have attempted to code up a solution, if you are still having problems, please attach your code and explain the specific problems you are encountering.
2 个评论
Jon
2019-8-14
编辑:Jon
2019-8-14
It is little bit tricky to apply your input vector to the system of equations. One approach is explained in https://www.mathworks.com/help/matlab/ref/ode45.html in the example ODE with Time-Dependent Terms
I assume you do not have Simulink. In Simulink you can do everything with block diagrams and it is very straight forward to drive your blocks with a known input vector.
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Systems of Nonlinear Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!