Graphics Programs Reference
In-Depth Information
length Returns the number of elements in a vector or string.
length('abcde')
limit Finds a two-sided limit, if it exists. Use 'right' or 'left' for one-sided
limits.
syms x; limit(sin(x)/x, x, 0)
syms x; limit(1/x, x, Inf, 'left')
linspace Generates a vector of linearly spaced points.
linspace(0, 2*pi, 30)
load Loads Workspace variables from a disk file.
load filename
lookfor Searches for a specified string in the first line of all M-files found in the
MATLAB path.
lookfor ode
ls Lists files in the current working directory. Similar to dir .
maple String access to the Maple kernel; generally is used in the form
maple('function', 'arg') . Not available in the Student Version.
maple('help', 'csgn')
max Computes the arithmetic maximum of the entries of a vector.
X=[351-623-56100]; max(X)
mean Computes the arithmetic average of the entries of a vector.
X=[351-623-56100]; mean(X)
symsxyz;X=[xyz];mean(X)
median Computes the arithmetic median of the entries of a vector.
X=[351-623-56100]; median(X)
min Computes the arithmetic minimum of the entries of a vector.
X=[351-623-56100]; min(X)
more Turns on (or off) page-by-page scrolling of MATLAB output. Use the SPACE BAR
to advance to the next page, the RETURN key to advance line-by-line, and Q to abort
the output.
more on
more off
notebook Opens an M-book (Windows only).
notebook problem1.doc
notebook -setup
Search WWH ::




Custom Search