```
MATLAB(1)                   (piggot)                    MATLAB(1)

NAME
matlab - interactive matrix desk calculator

SYNOPSIS
/usr/lbin/matlab

DESCRIPTION
Matlab reads commands from the standard input and manipu-
lates complex matrices.  Special cases include real matrices
and scalars.  Operations include pseudoinversion (which is
inversion for square nonsingular matrices), eigendecomposi-
tion, various other factorizations, solution of linear equa-
tions, matrix products (including inner and outer products),
Kronecker products, log, exponential and trigonometric func-
tions of matrices, and rank and condition estimation.  Vari-
ables are alphanumeric strings of at most 4 characters.
Case is ignored.  Expressions and assignment statements are
written as in Fortran, and multiple statements can be put on
one line, separated by either a comma or a semicolon; the
result of a statement is written on the standard output
unless a semicolon follows the statement.  Extensions to
Fortran notation include:

Matrix construction from elements.  Elements in a row are
separated by commas; columns are separated by semicolons;
matrices are surrounded by < > brackets.

Transpose is indicated by postfix prime ' .

Consecutive integers are denoted by colons in the style 1:4
or 1:8:2 (meaning 1,3,5,7).

Identity matrix is denoted `eye'; its dimensions are dic-
tated by context.

Reverse division is denoted by \ .  For example, `x = A \ b'
is roughly the same as `x = inv(A) * b', except that Gaus-
sian elimination, if applicable, is used to compute x.

Some matlab commands:

help
help word
List commands and functions; `help word' lists informa-
tion on word. It is useful to look over the complete
help file and the MATLAB User's Guide (see below).
save('file')
save('file[,var]...')
Save all current variables, or just the designated
variables in file.

MATLAB(1)                   (piggot)                    MATLAB(1)

Restore saved variables.

exec('file')
Execute the commands in file before reading more com-
mands from the standard input.

Matlab can be called as a subroutine - for details, see the
MATLAB User's Guide or type `help user'.

FILES
/usr2/matlab/help - original help file.
/usr/llib/mathelp.dac and /usr/llib/mathelp.idx - direct-
access help file.
/usr2/matlab - source directory.
/usr2/matlab/src/helper.f edit this to change location of
the direct-access help file, then do `make' in the
(above) matlab source directory.
/usr2/matlab/demo - demonstration file: use
exec('/usr2/matlab/demo')