Products & Services Industries Academia Support User Community Company

Learn more about MATLAB   

imag - Imaginary part of complex number

Syntax

Y = imag(Z)

Description

Y = imag(Z) returns the imaginary part of the elements of array Z.

Examples

imag(2+3i)

ans = 

    3 

See Also

conj, i, j, real

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS