>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  PH
Libraries

PH

PH

Name


      PH

Purpose


      Return the phase of a complex number.

Category


Calling Sequence


      p = ph(z)

Inputs


      z = a complex number or array. in

Keyword Parameters


Keywords


        /DEGREES returns result in degrees.

Outputs


      p = phase of z. out

Common Blocks


Notes


      Notes: results between -Pi and Pi (-180 and 180 deg).
        Phase of z=0=0+i0 is returned as 0.

Modification History


      R. Sterner, 13 May, 1993
      R. Sterner, 2004 Feb 20 --- Corrected to use the /PHASE keyword.
  Copyright (C) 1993, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us