You are on page 1of 2

Lesson 5

Help Center

Selection
Selection is the means by which MATLAB makes decisions about the order in which it executes its
statements. We will learn how to use the if-statement, which is the most important method of selection. We
will learn how to use relational operators and logical operators. We will learn how to write polymorphic
functions and how to make functions resistant to error.
Video Lectures
5.1 Selection (11:53)
5.2 If-Statements, continued (8:33)
5.3 Relational and Logical Operators (34:51)
5.4 Nested If-Statements (2:12)
5.5 Variable Number of Function Arguments (6:40)
5.6 Robustness (8:37)
5.7 Persistent Variables (6:54)
Assignments
Lesson 5 Programming Assignments (8 problems) Deadline: May 25, 2015 (11:59 pm in Hawaii)
Additional Material
Lesson 5 Slides
Examples used in the lectures
Video Lectures in HD on YouTube
5.1 Selection (11:53)
5.2 If-Statements, continued (8:33)
5.3 Relational and Logical Operators (34:51)
5.4 Nested If-Statements (2:12)
5.5 Variable Number of Function Arguments (6:40)
5.6 Robustness (8:37)
5.7 Persistent Variables (6:54)

Created Mon 16 Mar 2015 6:09 PM PET


Last Modified Tue 26 May 2015 11:17 AM PET

You might also like