This MATLAB function returns the phase angles, in radians, for each element of complex array Z.
www.mathworks.com