how to solve ode and get the value at a perticular value
2 ビュー (過去 30 日間)
古いコメントを表示
i am designing the model of a bldc motor in which i need to solve some ode which are time varying. i don't know which matlab syntax will b helpful for me. kindly, suggest. my code is
X=[x1;x2;x3;x4;x5]; Xnew=A*X;
where A is a 5X5 matrix which is dynamic means varies with every iteration. and the initial conditions X(0) also varies with every iteration. how to solve these equations??
0 件のコメント
採用された回答
Jan
2013 年 4 月 29 日
It is not clear, what this means:
the initial conditions X(0) also varies with every iteration
Which iteration?
To solve the ODE use ODE45, if the problem is not stiff. The documentation doc ode45 contains useful examples.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!