for index=values, program statements, end repeatedly executes one or more MATLAB statements in a loop.
www.mathworks.com