MATLAB: How to make successive for loops?!

equationfindfor loopif conditionsloopsMATLAB

Hey everybody;
i want to make 3 successive loops that the next loop start from the end of the previous ….can any one help me through that?!
code is attached

Best Answer

If you compare with my code, you'll notice that the use of i2 and i3 in these lines is not correct.
v2(i2)=70.*w1;
u2(i2)=70.*w12;
x2(i2)= y1(i+1);
y2(i2)=y1(i+1);
v2(i3)=30.*w2;
u2(i3)=30.*w22;
x2(i3)=y1(i2+1);
y2(i3)=y1(i2+1);
Furthermore, I never introduced v2,u2,x2,y2.
Best wishes
Torsten.