Module 10 Conditional and Iterative Control Learning Outcomes
- Know syntax for accepting and using file input and input from the user in a Matlab program.
- Know syntax for conditional and iterative statements.
- Explain differences between a program script and a user-defined function.
- Explain difference between syntax and semantic errors.
- Explain purpose and use of conditional operators and statements.
- Explain purpose and use of iterative statements.
- Explain purpose and use of MATLAB's debugging tools.
- Write conditional and iterative code to solve engineering problems.
- Trace conditional and iterative execution to determine output.
- Read data from a file and use in a program.
- Analyze (find) and fix common conditional and iterative programming errors. (Debugging)
- Use nested conditionals (if stmts) to make complex decisions.
- Use nested iterations (loops) to create and process matrices and data files.
- Combine use of conditionals and iterations to solve complex problems.