.. highlightlang:: us .. index:: angle .. _angle: angle ===== .. us.tag angle ENGLISH math-base :ref:`angle` calculates the phase angles in radinas for each element of a complex array. .. function:: rmP = angle(rmComplex) .. us.return **Return Value** *rmP* is a matrix with phase angles. .. us.params **Parameters** .. uparam:: rmComplex *rmComplex* is a complex matrix. .. us.example **Example** :: angle([1+1i, 2+1i]) 0.7854 0.4636 .. seealso:: :ref:`overview-mathematic`, :ref:`atan2` :sub:`id-245066`