Hi
I've been trying to use while loop with the matrix condition, but it doens't work.
I got an error message, "Index in position 1 exceeds array bounds."
Could you tell me what the problem is?
Thank you very much in advance.
for i = 1:10 EP(1,:) = EP1; while (abs(EP(i+1,:)-EP(i,:)>0.1)) for j = 1:4 a(j) = EP(i,1) - s(j,1); b(j) = EP(i,2) - s(j,2); c(j) = EP(i,3) - s(j,3); end . . . endend
Best Answer