odeToVectorField ERROR PLEASE HELP

1 view (last 30 days)
meng fowler
meng fowler on 12 Jan 2021
Commented: Daniel Pollard on 12 Jan 2021
syms x(t) f(t) x3(t) g(t) t
eqn1 = v == diff(x, t);
eqn2 = diff(v) == -3647.333890*x-99.48571587*v+3947.845868*x3+3947.845868*g+0.0002385211688*f;
eqn3 = diff(x3) == -0.004499581734*eqn2-0.71466948*v-28.3599*x+28.3599*g;
eqns = [eqn1 eqn2 eqn3];
V = odeToVectorField(eqns)
I want to solve this but it shows me error
i have 3 odes f and g are inputs x,v are outputs and x3 is state variable ?

Answers (0)

Community Treasure Hunt

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

Start Hunting!