フィルターのクリア

unable to find symbolic solution

3 ビュー (過去 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 Center および File ExchangeEquation Solving についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by