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.

Introduction

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 using *.mat files.

Basic MATLAB Concepts

Variable Manipulation

Graphics

Graphs and plots

Using Handles

What is a handle?
Figure handles
Axis handles
Other types of handles
Annotating Plots

Graphical User Interface

M-file Programming

Scripts

Control Flow

Error Messages

Debugging M Files

Advanced Topics

Numerical Manipulation

Advanced I/O

Object Oriented Programming

Applications and Examples

Toolboxes and Extensions

Alternatives to MATLAB

Most MATLAB scripts and functions can be run in the open source program Octave. This program is freely available for most computing platforms. Also freely available is Julia language, and while it doesn't strive for full compatibility, see Julia for MATLAB Users.

Differences between Octave and MATLAB

The most important differences between Octave and MATLAB that anyone willing to use Octave instead of MATLAB should be aware of.

References

Other Wikibooks

A number of other wikibooks use MATLAB to teach their subjects. The following wikibooks make use of MATLAB:

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.