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 CenterFile Exchange 中查找有关 Ordinary Differential Equations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by