How do i edit the program in the fllwn below, that while WB runs when it reaches between 27500 and 28500,the step changes from 50 to 100 between that range and then continues with 50 after??

1 回表示 (過去 30 日間)
for WB=25000:50:29000; Para(9)= WB; ff= ode5(@this_eq_of_motion,t,Y0,Para); % the ode4 Resp=ff(80*1/delta_t:end,:); save(strcat('res_to_WOB_', num2str(WB),'.mat'),'Resp','Para'); Y0 = ff(end,:); Y0(4)=0; clear ff Resp end

回答 (0 件)

カテゴリ

Help Center および File ExchangeOrdinary Differential Equations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by