Thursday, July 31, 2008

Matlab Alternatives

Matlab is a very powerful numerical computing environment which enables the user to perform complex mathematical and scientific function with relative ease. One of the biggest issues with Matlab is the price of it. Students can purchase an un-upgradable version for less than $100 (~£50), however this is only available for students and may only be used during the course of their studies. Commercial licenses are considerably more running into thousand of dollars/pounds depending on how many license-seats are required and what toolbox add-ons are ordered.

There are two free alternatives that I can recommend:

1. Octave

Designed with Matlab compatibility in mind, Octave provides a simple command-line focused UI that implements many of the functions of Matlab's M-language. A lot of Matlab M-code will run directly within Octave, although there are incompatibilities,



2. FreeMat

FreeMat is a full numerical computing environment in the same mould as Matlab. It has some Matlab M-code compatibility (apparently 95% code compatibility). Actually FreeMat goes beyond the capabilities of Matlab by providing a codeless interface to other programming languages such as C, C++, and Fortran and some IDL functionality. Windows, OSX and Linux platforms are supported .



3. Scilab

A third free Matlab alternative that has been recommended on the forums was Scilab. Scilab is a full numerical computing environment similar to Matlab, and although functioning with similar syntax is not fully Matlab compatible (from my initial musing less so that Octave and FreeMat). However, Scilab contains a useful Matlab > Scilab converter to port Matlab M-code into Scilab's own code. Scilab is available for Windows, UNIX and Linux.

Related Links :

GNU Octave : see http://www.gnu.org/software/octave/

FreeMat : see http://freemat.sourceforge.net/

Scilab : see http://www.scilab.org/

No comments: