フィルターのクリア

solve() does not gives me all solutions of a system of 5 variables

1 回表示 (過去 30 日間)
David Demory
David Demory 2021 年 4 月 16 日
回答済み: Vishesh 2023 年 9 月 22 日
Hi all,
I have an ODE model of 5 equations:
dXi/dt = f(Xi,dt) with i = 1 to 5.
I integrated it using numerical solver like ode45 and obtain an equilibrium with the 5 variables Xi* > 0 in |R.
I try to solve it for dXi/dt = 0 using the function solve to find the symbolic values of Xi*.
The solve function gives me only 4 solutions but does not gives me the one that have the 5 variables at equilibrium ...
Do you know why and how to solve it?
Thansk a lot,
Best,
D.

回答 (1 件)

Vishesh
Vishesh 2023 年 9 月 22 日
I understand that "solve()" function is not giving solution for one of your equations.
I would like to inform you that "solve()" function returns empty matrices when no solutions exist for the given equations.
To resolve this issue, please double-check your equations and run your code again.
For more information on "solve()" function, please refer to the following documentation:Equations and systems solver - MATLAB solve - MathWorks India

カテゴリ

Help Center および File ExchangeOrdinary Differential Equations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by