Notes 06: Control Flow MATLAB
Control flow documentation:
Mathworks Control Flow Documentation