Table of Contents
Introduction
Getting Started
Environment
Tutorial
Language Structure
Functions - Reference
- Function Reference
- abs - absolute value function
- acos - arccosine function
- acosh - hyperbolic arc cosine
- all - logical test for arrays
- angle - compute phase
- any - logical test for arrays
- asin - arcsine function
- asinh - hyperbolic arc sine
- atan - arctangent function
- atan2 - arc tangent function
- atanh - hyperbolic arc tangent
- axis - scaling axis on plots
- balance - balance a matrix to improve its
conditioning
- blackman - creates a Blackman function window
- casesen - toggle case sensitivity
- ceil - the ceiling function
- chdir - file manipulation command to change
directory
- chol - Cholesky matrix factorization
- cla - compatibility function (clears output
window)
- clc - clear output window
- clear - removes items from MathViews memory
- clock - computes the current time
- cntrlb - contour plot with level readings
- compan - the companion matrix
- computer - Returns 'WIN' (a compatibility
function).
- cond - the condition number of a square matrix
- conj - complex conjugate function
- contour - graphics contour plot
- conv - convolution
- cos - cosine function
- cosh - hyperbolic cosine function
- cosw - sinusoidal waveform
- cov - covariance matrices
- cumprod - cumulative product of an array
- cumsum - cumulative sum of an array
- delete - file manipulation command to delete
files
- det - matrix determinant
- dft - Discrete Fourier Transform
- diag - diagonal elements
- diary - record the current input session on disk
file
- diff - compute the difference to approximate
derivatives
- dir - list the files and subdirectories in a
directory
- disp - display a text string or a matrix
- echo - print M-files statements during
execution
- edit - invokes the MathPad editor
- eig - eigenvalues and eigenvectors of a real
symmetric
matrix
- error - echos a message to output window and
returns from
M-file
- etime - computes the elapsed time
- eval - text macro utility
- exist - test existence of variable
- exit, quit - quit MathViews session
- exp - exponential function
- expm - matrix exponential
- expr_sel - ternary conditional selection
- eye - get identity matrix
- e
- fac - factorial
- feval - function evaluation
- fft - Fast Fourier Transform 1-D and 2-D
- filter - filter data
- find - find nonzero elements
- fix - rounding function
- flip - mirror image of an array
- fliplr - flip matrix left/right
- flipud - flip matrix up/down
- floor - rounding function
- format - number display format
- fprintf - file output conversion
- grid - overlap plot with a grid
- gwclr, clg - clear MathViews graphics window
- gwinit - initialize MathViews graphics windows
environment
- gwsel - select MathViews graphics window
- hamming - creates a Hamming function window
- hanning - creates a Hanning function window
- help - help command
- hilb - Hilbert matrix
- hold - hold plot on graphical screen
- home - place text cursor at top of interactive
window
- ifft - Inverse Fast Fourier Transform
- imag - extract imaginary component of a complex
number
- input - prompt for input
- int2str - convert integer number to string
format
- inv - matrix inversion
- invhilb - inverse Hilbert matrix
- iscmplx - test for complex elements
- iscol - test for column vector
- isempty - test for empty matrix
- isreal - test for real (scalar) number
- isrow - test for row vector
- isscalar - test for scalar
- isstr - test for string
- isvector - test for vector
- keyboard - pass control to the interactive window
from an
M-file
- length - test for length
- load - load variables from disk
- log - natural logarithm function
- log2 - base-2 logarithm function
- log10 - base-10 logarithm function
- loglog - plot using log-log scales
- ltifr - linear time invariant frequency
response
- ltitr - linear time invariant time response
- max - find largest element of array(s)
- mean - compute the mean
- median - compute the median
- mesh - graphics - hidden lines
- meshdom - create mesh domain
- meta - create a Windows metafile
- min - find smallest element of array(s)
- norm - matrix norm
- num2str - convert number to a string
- ones - get an all 1's vector or matrix
- pack - compact memory
- pause - pause until key pressed
- pi - returns the value, pi, as a function rather
than as a
constant
- pinv - pseudo-inverse
- play - display a Windows metafile (wmf)
- plot - line plots
- polar - generate polar plot
- poly - characteristic polynomial
- polyfit - polynomial fitting
- polyval - polynomial evaluation
- print, prtsc - print the current graphics
windows
- prod - compute the product
- qr - QR factorization
- rand - random number generator
- rank - rank of a matrix
- rcond - compute condition number of a matrix
- real - extract the real component of a complex
number
- rem - compute the remainder
- reshape - reshape an array
- roots - polynomial roots
- round - rounding function
- save - save variable(s) to disk file
- semilogx, semilogy- plot using semi-log scales
- setstr - string handling function
- sign - sign function
- sin - sine function
- sinh - hyperbolic sine function
- sinw - sinusoidal waveform
- size - dimension of variable
- sort - sort an array
- sprintf - string conversion function
- sqrt - square root function
- startup - start up script file
- strcmp - string comparison function, extended to
string
arrays.
- subplot - Create subplot windows within the current
graphics
window.
- sum - sum of an array
- svd - singular value decomposition
- tan - tangent function
- tanh - hyperbolic tangent function
- text - plot text onto graphics window
- title - insert plot title
- trace - trace of a matrix
- tril - lower triangular matrix
- triu - upper triangular matrix
- type - file manipulation command to display the
contents of a
file
- wbartlet - creates a triangle window
- who, whos - list variables
- wmerit - figures of merit for any window
function
- wrect - creates a rectangle/Dirichlet window
- wsina - creates a family of sine windows
- x01 - returns an n-point vector linearly spaced
from 0 to 1
- x101 - returns an n-point vector spaced linearly
from -1 to
1
- xlabel, ylabel, zlabel - label axis
- zeros - 0 matrix
- _compile - compile M-file
- _debug - program statement to set a breakpoint
- _help - help command
- _lcompile - library compilation
- _list - list dependence variables
- _loadlib - load precompiled library
- _savelib - saves the current compile library
- _ver - get version number
Appendix A - Dynamic Data Exchange
Appendix B - Extending MathViews with DLLs
Appendix C - Using MathPad