This lecture comes from a course on mathematical and computational physics. After studying this video, students will understand how to create branches in a MATLAB script by including an if...end statement. Multiple conditions can be tested using the if...elseif...elseif...else...end structure. These conditional statements are illustrated with simple examples.