20 Oct 2011 ... I have this for loop which works perfectly fine except that I want it to stop the for loop when y=0.
www.mathworks.com