•
Program used for many mathematical applications
• Numerical solutions to problems, matrix algebra
• Making graphs, plots
• Interfacing with electronic devices, data analysis
•
Based on C programming language.
•
Strips out non-math based components of C.
•
Relies heavily on arrays, matrices, and vectors.

This
** preview**
has intentionally

**sections.**

*blurred***to view the full version.**

*Sign up*
•
Don’t need headers (like
#include stdio.h
).
•
Don’t need to initialize variables. Numerical variables
are all treated as floating-point numbers (variables can
also be initialized as characters).
•
Don’t need to compile programs.
•
Condensed notation in many cases.
•
Enter commands directly (i.e. use MatLab like a
calculator) or write .m files.

•
Entering commands directly, creating a .m file
•
Defining variables
•
When to end lines with a semicolon ( ; )
•
MatLab Help Library
•
Comments – use
%

This
** preview**
has intentionally

**sections.**

*blurred***to view the full version.**

*Sign up*