MATLAB Programming
MATLAB is a programming language developed by MathWorks. It started out as a matrix programming language where linear algebra programming was simple. It can be run both under interactive sessions and as a batch job. Alternatives to MATLAB exist including open source software packages.
Contents
Introduction[edit]
For the beginner just starting into MATLAB programming, a tutorial is available to write Hello World. Once Hello World, which is the simplest of programs, works the beginner can move on to explore the MATLAB workspace available for developing or running Matlab code.
Using the workspace the beginner can then learn to manipulate basic MATLAB Variables. For convenience Matlab allows the workspace to be saved and loaded usinge *.mat files.
Basic MATLAB Concepts[edit]

 The MATLAB command prompt
 Reading and writing data files
 Commands
 File Naming conventions
Variable Manipulation[edit]
Graphics[edit]
Graphs and plots[edit]
Using Handles[edit]
 What is a handle?
 Figure handles
 Axis handles
 Other types of handles
 Annotating Plots
Graphical User Interface[edit]
Mfile Programming[edit]
Scripts[edit]
Control Flow[edit]
Error Messages[edit]
Debugging M Files[edit]
Advanced Topics[edit]
Numerical Manipulation[edit]
Advanced I/O[edit]
Object Oriented Programming[edit]
Applications and Examples[edit]
Toolboxes and Extensions[edit]
Alternatives to MATLAB[edit]
Most MATLAB scripts and functions can be run in the open source program Octave. This program is freely available for most computing platforms.
Differences between Octave and MATLAB[edit]
The most important differences between Octave and MATLAB that anyone willing to use Octave instead of MATLAB should be aware of.
References[edit]
 MATLAB documentation from The MathWorks.
 MATLAB programs compilation from 'MATLAB programs for Engineering Students'.
External links[edit]
 MATLAB at literateprograms.org
 ControlTheoryPro.com MATLAB Category
 Processing in Optical Coherence Tomography using Matlab
Other Wikibooks[edit]
A number of other wikibooks use MATLAB to teach their subjects. The following wikibooks make use of MATLAB: