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

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

% Copyright 2015 The MathWorks, Inc.