solving systems of differential equations
2 ビュー (過去 30 日間)
古いコメントを表示
How can I solve a system of 27 differential equations? in fact the equations are related to each other and I want t solve it in parameteric way. it means all the constants and variables in my equations are unknown. so i can not use ODE45 for example. regards
0 件のコメント
回答 (1 件)
Alberto
2014 年 4 月 8 日
I give you an example to solve a system of 2 differential equations:
syms f(t) g(t) % one for every function
S = dsolve(diff(f) == 3*f + 4*g, diff(g) == -4*f + 3*g)
The functions can be extracted using:
S.f, S.g
2 件のコメント
Alberto
2014 年 4 月 10 日
With undefined parameters you have to use symbolic methods, and you are right, it takes time.
The only advice i can give you is trying to reduce your system to smaller problems than can be solved in 'finite' time.
Maybe combining some functions in just one or something ( can´t say without watching the equations), but I`m sure you tried that.
参考
カテゴリ
Help Center および File Exchange で Equation Solving についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!