フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

A question to improve my loop of ODE

1 回表示 (過去 30 日間)
Yuxing Zhang
Yuxing Zhang 2018 年 10 月 17 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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)
  1 件のコメント
Kevin Chng
Kevin Chng 2018 年 10 月 17 日
change your for
for i=-2:-1:-8

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by