using solve function and getting 0-by-1
Afficher commentaires plus anciens
hello i am having this set of 4 differential first order equations : ode1(t) =
diff(x(t), t) == (36552913157447*x(t))/17179869184
diff(x(t), t) == -(3598384661667177*x(t))/2199023255552
diff(x(t), t) == 87500*x(t) + 12000
diff(x(t), t) == -89000*x(t)
now when I type : solver = solve(ode1,t)
i get :
solver =
Empty sym: 0-by-1
what to do ?
Réponses (1)
Torsten
le 23 Oct 2017
syms x(t)
eqn = diff(x, t) == (36552913157447*x)/17179869184 ;
sol = dsolve(eqn)
Same for the other differential equations.
Best wishes
Torsten.
5 commentaires
tomer polsky
le 23 Oct 2017
Torsten
le 23 Oct 2017
"Solve System of Differential Equations"
under
https://de.mathworks.com/help/symbolic/dsolve.html
should help.
Best wishes
Torsten.
tomer polsky
le 23 Oct 2017
Torsten
le 23 Oct 2017
Look at the example in the link and you'll see how to proceed.
Best wishes
Torsten.
tomer polsky
le 23 Oct 2017
Catégories
En savoir plus sur Numeric Solvers dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!