MATH/CMSC 206 - Introduction to Matlab
Note: Each of the major topics has a suggested number of days
listed so you are aware of how you should pace yourself
through the course.
Be aware of the project due dates listed on the Syllabus.
- What is MATLAB?
- Starting MATLAB
Finding the program, activating the student license, self-test.
- What are all these Windows?
Current directory window, command window, workspace window,
command history window, menus, self-test.
- Getting Started
Entering commands, getting help, documentation, self-test.
quit, help, helpwin, doc
B. Basic Commands
- Ordinary Variables
Storing, accessing, viewing, modifying, clearing, saving, loading, self-test.
ans, clear, save, load
- Symbolic Variables
Declaring, factoring, simplifying, expanding, making pretty, self-test.
syms, factor, pretty, expand, simplify
D. Solving Equations
E. Script M-Files
F. Simple Calculus and Precalculus Operations
- Plotting Curves
Plotting the easy way, self-test.
- Symbolic Differentiation
- Symbolic Integration
Indefinite integrals, definite integrals, self-test.
- Numerical Integration
Symbolic integration, self-test.
- Solving Differential Equations
Introduction, initial value problems, a compound example, using variables, self-test.
dsolve, strcat, char, subs
G. Matrices and Vectors
- Function Basics
Overview, symbolic expressions, inline functions, function handles, function M-files,
- More with Functions
Differentiation, integration, numerical integration, graphing,
finding roots, self-test.
I. Programming with MATLAB
- Basic Programming Structures
Introduction, displaying stuff, conditionals, loops, self-test.
disp, if, elseif, else, &, |, for, while
- Function M-Files Part 1
What's an M-file, the general idea, a more complicated example, self-test.
- Function M-Files Part 2
What can we do with a function M-file, vectorizing, multiple arguments,
passing functions to functions, documenting, self-test.
J. Publishing M-Files
- Basic Publishing
What is publishing, example, Matlab commands, formatted comments, self-test.
K. Limitations of MATLAB
L. MuPAD - Not in use Spring 2012
- Introduction to MuPAD
What is MuPAD, opening a notebook, Matlab/MuPAD differences, variable assignment,
function definition, integration, self-test.
mupad, diff, fzero, inline, solve, delete, f:=, int
- Intermediate MuPAD
Solving equations, substitution, passing variables, plotting functions, accessing
previous results, saving and exporting your notebook, self-test.
solve, |, getVar, setVar, plotfunc2d, %