function p = angle(h)
%ANGLE  Phase angle.
%   ANGLE(H) returns the phase angles, in radians, of a matrix with
%   complex elements.  
%
%   See also ABS, UNWRAP.

%   Copyright (c) 1984-98 by The MathWorks, Inc.
%   $Revision: 5.3 $  $Date: 1997/11/21 23:28:04 $

% Clever way:
% p = imag(log(h));

% Way we'll do it:
p = atan2(imag(h), real(h));

