MATLAB Branch (IF/ELSE) Tutorial

MATLAB Branch (IF/ELSE) Tutorial

This is a tutorial on branches (if/else statements) in MATLAB. Table of contents below. 00:00 - Introduction 00:44 - General form 02:14 - Principle of operation 03:12 - Example 1 04:40 - Example 2 06:22 - Compound conditions 06:50 - Example 3 08:13 - Short circuit AND and OR operators 10:00 - Nested branches 12:22 - Conclusion