ODE45 for nonlinear problem
조회 수: 2 (최근 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!