Tspan is not strictly increasing.
조회 수: 3 (최근 30일)
이전 댓글 표시
I am trying to solve a second order ode using ODE45 but my tspan is not strictly increasing. How can I solve it ?
댓글 수: 0
채택된 답변
Stephan
2019년 11월 27일
Since ode45 uses an automated stepwide control just define the start and the end of your tspan this way:
tspan = [0 10];
This is all you have to do to solve this problem.
댓글 수: 3
추가 답변 (0개)
참고 항목
카테고리
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!