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!