Environmental Engineering Reference
In-Depth Information
Fig. 15.7 Surface plot of the complex logarithm
Complex numbers are just another more general data type which MATLAB
®
can handle. Thus in MATLAB ® there are arrays, vectors, matrices and functions of
complex numbers, and the user may use those almost as she/he is accustomed
to with real numbers. Any complex number can alternatively be characterized by an
absolute value r ¼
p
x 2
þ y 2
and an angle
y
:
¼ re iy
z
(15.11)
The corresponding MATLAB
command are:
®
The output for the angle lies between -
p
and
p
.
Search WWH ::




Custom Search