ode23, too slow
이전 댓글 표시
It takes a long time to solve the code. Is it because the code is reading data from a.dat file? How can I make it go faster? It slows down even more as time increases and the time step gets smaller.
댓글 수: 2
Walter Roberson
2022년 6월 3일
https://www.mathworks.com/help/matlab/math/parameterizing-functions.html
Walter Roberson
2022년 6월 3일
I also suspect that you have a stiff system and should try ode23s
채택된 답변
추가 답변 (1개)
카테고리
도움말 센터 및 File Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!