ODE45 for nonlinear problem
1 回表示 (過去 30 日間)
古いコメントを表示
kindly check the below code....
2 件のコメント
回答 (1 件)
darova
2020 年 6 月 14 日
- avoid global. YOu can make nested function in your case
function linear_vs_nonlinear
% variables
% code
function SD_L=linear(t,s)
% code
end
end
- you have 4 equations, but only 2 initial conditions
- some operators are forgotten (multiplier i think)
6 件のコメント
darova
2020 年 6 月 29 日
How do you know that ? Usually and are uknowns if you have ODE. and should be given
参考
カテゴリ
Help Center および File Exchange で Ordinary Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!