Effacer les filtres
Effacer les filtres

unable to find symbolic solution

3 vues (au cours des 30 derniers jours)
IVAN DONATI
IVAN DONATI le 27 Fév 2021
clear all
syms Pb(t) ron roff ka kl eta xs(t) kc nc xc(t) vu nm Fm
ode1=diff(Pb)==(1-ron)*Pb-Pb*roff
ode2=(ka+kl)*eta*diff(xs)+ka*kl*xs==ka*(kc*nc*Pb*(xc-xs))+eta*diff(kc*nc*Pb*(xc-xs))
ode3=diff(xc)==Pb*(vu*(1-((kc*nc*Pb*(xc-xs))/(nm*Fm))))+(1-Pb)*diff(xs)
odes=[ode1;ode2;ode3]
[PbSol,xs,xc]=dsolve(odes)
error message: unable to find symbolic solution

Réponses (1)

Utkarsh Belwal
Utkarsh Belwal le 2 Mar 2021
Hi IVAN,
If dsolve cannot find an explicit solution of a differential equation analytically, then it returns an empty symbolic array. You can solve the differential equation by using MATLAB® numerical solver, such as ode45. For more information, see Solve a Second-Order Differential Equation Numerically.
Thanks,
Utkarsh

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by