Within a FOR loop, I can successfully implement a single IF statement to prevent either the upper or lower values from being manipulated like so:
if (theta1 > 0.7297) continue end
However every attempt I have made to remove both upper and lower values has failed. Can anyone explain what is wrong with this:
if (theta1 > 0.7297) else (theta1 < -0.7297) continue end
Thanks.
Best Answer