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
1 个评论
Image Analyst
2016-3-17
What is a "fllwn"???
I did this:
for WB=25000:50:29000;
WB
end
and I saw no evidence that it changes the step size.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Ordinary Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!