ODE solver and PID gain
3 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!