14.9 Interface to MATLAB

Module: sage.interfaces.matlab

Interface to MATLAB

According to their website, MATLAB is "a high-level language and interactive environment that enables you to perform computationally intensive tasks faster than with traditional programming languages such as C, C++, and Fortran."

The commands in this section only work if you have the "matlab" interpreter installed and available in your PATH. It's not necessary to install any special Sage packages.

sage: matlab.eval('2+2')                 # optional
'\nans =\n\n     4\n'

sage: a = matlab(10)                     # optional
sage: a**10
   1.0000e+10

Author: William Stein (2006-10-11)



Subsections
See About this document... for information on suggesting changes.