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

Réponses (0)

Catégories

En savoir plus sur General Applications dans Centre d'aide et File Exchange

Produits

Question posée :

le 17 Avr 2014

Community Treasure Hunt

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

Start Hunting!

Translated by