imag

Purpose

Imaginary part.

Synopsis

Y = imag(Z)

Description

imag(Z) is the imaginary part of the elements of Z.

Examples

imag(2+3i)
          
ans = 
    3 

See Also

conj, real

(c) Copyright 1994 by The MathWorks, Inc.