You are on page 1of 2

Matrix analysis.

cond Matrix condition number.


norm Matrix or vector norm.
rcond LINPACK reciprocal condition
estimator.
rank Number of linearly independent
Graphics & plotting.
rows or columns.
figure Create F igure (graph window).
det Determinant.
elf Clear current figure.
trace Sum of diagonal elements.
close Close figure.
null Null space.
subplot Create axes in tiled positions.
orth Orthogonalization.
axis Control axis scaling and appear­
rref Reduced row echelon form.
ance.
Linear equations.
hold Hold current graph.
\ and I Linear equation solution; use
figure Create figure window.
"help slash". text Create text.
chol Cholesky factorization. print Save graph to file.
lu Factors from Gaussian elimina­
) plot Linear plot.
tion. loglog Log-log scale plot.
inv Matrix inverse. semilogx Semi-log scale plot.
qr Orthogonal- triangular decompo­ semilogy Semi-log scale plot.
sition.
Specialized X-Y graphs.
qrdelete Delete a column from the QR fac­
polar Polar coordinate plot.
torization.
bar Bar graph.
qr insert Insert a column in the QR factor­
stem Discrete sequence or "stem" plot.
ization.
stairs Stairstep plot.
nnls Non-negative least- squares.
errorbar Error bar plot.
pinv Pseudoinverse.
hist Histogram plot.
lscov Least squares in the presence of
rose Angle histogram plot.
known covariance.
compass Compass plot.
Eigenvalues and singular values.
feather Feather plot.
eig Eigenvalues and eigenvectors. £plot Plot function.
poly Characteristic polynomial. comet Comet-like trajectory.
polyeig Polynomial eigenvalue problem.
Graph annotation.
hess Hessenberg form.
title Graph title.
qz Generalized eigenvalues.
xlabel X-axis label.
rsf2csf Real block diagonal form to com­
ylabel Y-axis label.
plex diagonal form.
text Text annotation.
cdf2rdf Complex diagonal form to real
gtext Mouse placement of text.
block diagonal form.
grid Grid lines.
schur Schur decomposition.
contour Contour plot.
balance Diagonal scaling to improve
mesh 3-D mesh surface.
eigenvalue accuracy.
surf 3-D shaded surface.
svd Singular value decomposition.
waterfall Waterfall plot.
Matrix functions.
view 3-D graph viewpoint specifica­
expm Matrix exponential.
tion.
expm1 M- file implementation of expm. zlabel Z-axis label for 3-D plots.
expm2 Matrix exponential via Taylor se­ gtext Mouse placement of text.
ries.
grid Grid lines.
expm3 Matrix exponential via eigenval­
ues and eigenvectors. Table 5: Graphics & plot commands.
logm Matrix logarithm.
sqrtm Matrix square root.
furun Evaluate general matrix function.

Table 4: Matrix functions-numerical linear alge­


bra.
abs Absolute value
sqrt Square root function
sign Signum function
conj Conjugate of a complex number
imag Imaginary part of a complex
number
real Real part of a complex number Managing commands and functions.
angle Phase angle of a complex number help On-line document�tion.
cos Cosine function doc Load hypertext documentation.
sin Sine function what Directory listing of M-, MAT-
tan Tangent function and MEX-files.
exp Exponential function type List M-file.
log Natural logarithm lookfor Key word search through the
log10 Logarithm base 10 HELP entries.
cosh Hyperbolic cosine function which Locate functions and files.
sinh Hyperbolic sine function demo Run demos.
tanh Hyperbolic tangent function Managing variables and the workspace.
acos Inverse cosine who List current variables.
acosh Inverse hyperbolic cosine whos List current variables, long form.
asin Inverse sine load Retrieve variables from disk.
asinh Inverse hyperbolic sine save Save workspace variables to disk.
atan Inverse tan clear Clear variables and functions
atan2 Two-argument form of inverse from memory.
tan size Size of matrix.
atanh Inverse hyperbolic tan length Length of vector.
round Round to nearest integer disp Display matrix or text.
floor Round towards minus infinity Working with files and the operating system.
fix Round towards zero cd Change current working direc-
ceil Round towards plus infinity tory.
rem Remainder after division dir Directory listing.
delete Delete file.
Table 2: Elementary Functions ! Execute operating system com-
mand.
unix Execute operating system com-
mand & return result.
diary Save text of MATLAB session.
Controlling the command window.
) cedit Set command line edit/recall fa-
cility parameters.
clc Clear command window.
home Send cursor home.
format Set output format.
echo Echo commands inside script
files.
more Control paged output in com-
mand window.
Quitting from MATLAB.
quit Terminate MATLAB.

Table 3: General purpose commands.

You might also like