unable to find symbolic solution

3 次查看(过去 30 天)
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

回答(1 个)

Utkarsh Belwal
Utkarsh Belwal 2021-3-2
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

类别

Help CenterFile Exchange 中查找有关 Equation Solving 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by