unable to find symbolic solution

4 views (last 30 days)
IVAN DONATI
IVAN DONATI on 27 Feb 2021
Answered: Utkarsh Belwal on 2 Mar 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

Answers (1)

Utkarsh Belwal
Utkarsh Belwal on 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

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!