Lecture Notes

LECTURE NOTES CONTENTS FILES

Lecture 1: Introduction to MATLAB Basics

  • Getting MATLAB to Run
  • Programming
  • The Command Prompt
  • Simple Expressions
  • Variables
  • Referencing Matrix Elements
Lecture 1 Notes and Exercises (HTML)

Lecture 2: Matrices

  • Accessing Matrix Elements
  • Assigning into Submatrices
Lecture 2 Notes and Exercises (HTML)

Lecture 3: Basic Tools

  • Matrix Concatenations
  • More Expressions
  • Plotting
  • Logical Constructs
  • Formatting Text
Lecture 3 Notes and Exercises (HTML)

Lecture 4: Flow Control

  • "if" Statement
  • "for" Loops
Lecture 4 Notes and Exercises (HTML)

Lecture 5: Defining Functions

  • "while" Statements
  • Variable Scope
Lecture 5 Notes and Exercises (HTML)

Lecture 6: Functions and Logic

  • Multiple Input Functions
  • More on Logic
Lecture 6 Notes and Exercises (HTML)