www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/ImaginaryPartOfComplexNumberExample.m

    %% Imaginary Part of Complex Number
% Find the imaginary part of the complex number, |Z|.
Z = 2+3i;

Y = imag(Z)