Feeds
질문
I am trying to reduce the step size for my inside for loop until the maximum difference between successive iterations is less than 0.1%. Is there a way for me to keep the values of y1 while reducing the step size for each run until the maxdifference?
% Initialization h = 0.5; %Step size Ni = 50; %Number of steps x(1:Ni) = 0; y1(1:Ni) = 0; % Initial condi...
거의 9년 전 | 답변 수: 0 | 0