ODE solver and PID gain

Hi, I have a system of 12 non-linear equation and was using ODE45 to solve the equations.
I get 12 graphs vs time and now I am wondering how I can apply gains (PID) to 3 of the graphs (or all of them is fine)
EX: u_dot = a*r +p*r+...
v_dot = p*u +r*cos(theta)...
r_dot = u*cos(phi) sin(theta)...
equations continue... and I am plotting time vs u(t) for example.
Since it is not statespace,transfer function, or in simulink, im totally lost.
Any suggestion is greatly appreciated. Thanks

回答(0 个)

类别

帮助中心File Exchange 中查找有关 General Applications 的更多信息

产品

提问:

2014-4-17

Community Treasure Hunt

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

Start Hunting!

Translated by