Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
A question to improve my loop of ODE
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a question which asks to solve a ODE problem, and I have done the main part codes except one loop. It asks to set dt=2^-2,2^-3,2^-4.....2^-8 for t=[0:dt:5], and finally save the output E for each dt as E_list vector. But I can only do with one dt value, so I want to know how can I improve my codes.(codes are in the figure below)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/198059/image.png)
댓글 수: 1
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!