|
|
1.1 root 1: .TH MATLAB 1
2: .CT 1 numbers
3: .SH NAME
4: matlab \(mi interactive matrix desk calculator
5: .SH SYNOPSIS
6: .B /usr/lbin/matlab
7: .SH DESCRIPTION
8: .I Matlab
9: manipulates complex matrices interactively.
10: Special cases include
11: real matrices and scalars.
12: Operations include pseudoinversion (which
13: is inversion for square nonsingular matrices), eigendecomposition,
14: various other factorizations, solution of linear equations, matrix
15: products (including inner and outer products), Kronecker products,
16: log, exponential and trigonometric functions of matrices, and rank and
17: condition estimation.
18: .PP
19: Variables are alphanumeric strings of at most
20: 4 characters.
21: Case is ignored.
22: Expressions and assignment statements are written
23: as in Fortran.
24: Multiple statements can be put on one line,
25: separated by either comma or semicolon; the result of a statement
26: is written on the standard output unless a semicolon follows the statement.
27: Extensions to Fortran notation include:
28: .PP
29: .I Matrix construction
30: from elements.
31: Elements in a row are separated by commas; columns are
32: separated by semicolons; matrices are surrounded by
33: .L < >
34: brackets.
35: .PP
36: .I Transpose
37: is indicated by postfix prime
38: .LR ' .
39: .PP
40: .I Consecutive integers
41: are denoted by colons in the style 1:4 or 1:2:8 (meaning 1,3,5,7).
42: .L A(2:5)
43: is a subarray;
44: .L A(:,j)
45: is a column.
46: .PP
47: .I Identity
48: matrix is denoted
49: .LR eye ;
50: its dimensions are dictated by context.
51: .PP
52: .I Reverse division
53: is denoted by \e .
54: For example,
55: .L x = A \e b
56: is roughly the same as
57: .LR "x = inv(A) * b" ,
58: except that Gaussian elimination, if applicable, is used to compute
59: .IR x .
60: .PP
61: Some
62: .I matlab
63: commands:
64: .TP
65: .B help
66: .PD0
67: .TP
68: .BI help " word"
69: List commands and functions, or specific information about a
70: .IR word :
71: .IP
72: .ft 5
73: .nf
74: ABS ANS ATAN BASE CHAR CHOL CHOP CLEA COND CONJ COS
75: DET DIAG DIAR DISP EDIT EIG ELSE END EPS EXEC EXIT
76: EXP EYE FILE FLOP FLPS FOR FUN HESS HILB IF IMAG
77: INV KRON LINE LOAD LOG LONG LU MACR MAGI NORM ONES
78: ORTH PINV PLOT POLY PRIN PROD QR RAND RANK RCON RAT
79: REAL RETU RREF ROOT ROUN SAVE SCHU SHOR SEMI SIN SIZE
80: SQRT STOP SUM SVD TRIL TRIU USER WHAT WHIL WHO WHY
81: .fi
82: .TP
83: .BI save(' file ')
84: .TP
85: .BI save(' file \fR[\fB, var \fR]...\fB')
86: Save all current variables,
87: or just the designated variables in
88: .I file.
89: .TP
90: .BI load(' file ')
91: Restore saved variables.
92: .TP
93: .BI exec(' file ')
94: Execute the commands in
95: .I file
96: before reading more commands from the standard input.
97: .PD
98: .PP
99: .I Matlab
100: can be called as a subroutine.
101: For details, see the reference or
102: type
103: .LR "help user" .
104: .SH FILES
105: .F /usr/lib/mathelp.dac
106: .br
107: .F /usr/lib/mathelp.idx
108: .SH "SEE ALSO"
109: Cleve Moler,
110: .I MATLAB User's Guide,
111: Technical Report CS81\-1 (Revised), Dept.
112: of Computer Science, University of New Mexico, 1982.
113: (Available in troff form with the Matlab source.)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.