Next  |  Top  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search

What is Matlab?

Quoting from the 1981 Matlab Users' Guide:

MATLAB is an interactive computer program that serves as a convenient ``laboratory'' for computations involving matrices. It provides easy access to matrix software developed by the LINPACK and EISPACK projects. The program is written in Fortran and is designed to be readily installed under any operating system which permits interactive execution of Fortran programs.
In the past couple of decades, the matlab language has become the de facto standard high-level language in digital signal processing. It is used extensively for analysis and rapid prototyping.1

The matlab language was created by Prof. Cleve B. Moler, Professor of Computer Science (a specialist in numerical analysis) at the University of New Mexico. It has since spawned several commercial and open-source derivatives of the original matlab language. Today, the premier commercial version is Matlab (R) by The Mathworks, Inc., and the best free, open-source version appears to be Octave.

Matlab by The Mathworks, Inc., is far and away the richest implementation of the matlab language. However, it is very expensive for non-students, costing thousands of dollars for an individual user (at the time of this writing). As a result, individuals may prefer the free, open-source Octave. I use the term ``matlab'' (not capitalized) to refer to either Matlab or Octave (or any other reasonably compatible implementation of the matlab language).2Capitalized, ``Matlab'' refers (in my documents) to the version sold by The Mathworks.

Matlab and Octave are highly compatible with respect to purely mathematical computations. They may diverge, however, when generating plots. Octave's plotting capabilities are based on gnuplot. Octave 3.0 (released December 2007) was a large step forward in compatiblity, especially with respect to basic plots that are used most often. While I continue to encounter differences here and there, I find that almost all code I write (or receive from others) will run in either Octave or Matlab.


Next  |  Top  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search

Download matlab.pdf
[Report a bug]

``Introduction to Matlab and Octave'', by Julius O. Smith III, December 28, 2001, Web published at http://ccrma.stanford.edu/~jos/matlab/.
Copyright © 2009-02-03 by Julius O. Smith III
Center for Computer Research in Music and Acoustics (CCRMA),   Stanford University
CCRMA  [About the Automatic Links]