Contents
Previous
Next
Subchapters
Current Chapters->
abs
sqrt
max
pmax
maxs
mins
conj
imag
sign
floor
ceil
round
roundoff
mod
rem
colunmod
unwrap
factorl
primes
Parent Chapters->
Omatrix6
elementary
algebraic
imag
Search Tools->
contents
reference
index
search
The Imaginary Part Function
Syntax
imag(
z
)
See Also
isreal
,
conj
,
double
,
real
,
complex
Description
Returns the
element-by-element
imaginary part of
z
, where
z
is a complex, double-precision, real, or integer matrix. The return value is double-precision.
Example
z = 1 - 1i0
imag(z)
returns
-1