I should make an iterative cylce, yet when trying to run it gives me this error

Array indices must be positive integers or logical values.

`for i= linspace(0.0001,0.0009,1000) Fm= (0.25).*(((log((2.7*10^-5)+(2.51.*((Rey.*sqrt(i).^-1))))).^-1).*((log((2.7*10^-5)+(2.51.*((Rey.*sqrt(i).^-1)))))).^-1); if Fm(i)-Fm(i+1)<= abs(10^-6) break endend`

## Best Answer