The
IMAGINARY function returns the imaginary part of its
complex-valued argument. If the complex-valued argument is double-precision, the result will be double-precision, otherwise the result will be single-precision floating-point.
Calling Sequence
Result = IMAGINARY(
Complex_Expression
)
Arguments
Complex_Expression
The complex-valued expression for which the imaginary part is desired.
Example
Create an array of complex values by entering:
C = COMPLEX([1,2,3],[4,5,6])
Print just the imaginary parts of each element in C by entering: