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

    %% Smallest Complex Element
% Create a complex vector and compute its smallest element, that is, the element with the smallest magnitude.

% Copyright 2015 The MathWorks, Inc.

A = [-2+2i 4+i -1-3i];
min(A)