
Expressions
'
Complex conjugate transpose
()
Specify evaluation order
Functions
MATLAB provides a large number of standard elementary mathematical
functions, including
abs, sqrt, exp ,andsin. Taking the square root or
logarithm of a negative number is not an error; the appropriate complex result
is produced automatically. MATLAB also provides many more advanced
mathematical functions, including Bessel and gamma functions. Most of
these functions accept complex arguments. For a list of the elementary
mathematical functions, type
help elfun
For a list of more advanced mathematical and matrix functions, type
help specfun
help elmat
Some of the functions, like sqrt and si n,arebuilt in. Built-in functions are
part of the MATLAB core so they are very efficient, but the computational
details are not readily accessible. Other functions, like
gamma and sinh,are
implemented in M-files.
There are some differences between built-in functions and other functions. For
example, for built-in functions, you cannot see the code. For other functions,
you can see the code and e ven modify it if you want.
Several special functions provide values of useful constants.
pi
3.14159265...
i
Imaginary unit,
j
Same as i
eps
Floating-
point relative precision,
realmin
Smallest floating-point number,
2-13
Kommentare zu diesen Handbüchern