unable to find symbolic solution

조회 수: 4 (최근 30일)
IVAN DONATI
IVAN DONATI 2021년 2월 27일
답변: Utkarsh Belwal 2021년 3월 2일
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에서 Symbolic Math Toolbox에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by