Documentation/How Tos/Calc: IMARGUMENT function
From Apache OpenOffice Wiki
IMARGUMENT
Returns the argument of a complex number.
This function is only available if the Analysis AddIn is installed.
Syntax:
IMARGUMENT(complexnumber)
- complexnumber is text representing a complex number, for example as a+bi or a+bj.
- IMARGUMENT returns the argument of complexnumber in radians - that is, in a polar representation, the angle relative to the horizontal axis. For a complex number a+bi = r(cosφ + isinφ) the argument is φ.
Example:
IMARGUMENT("3+3i")
- returns 0.785398163397 - that is 2π/8 radians.
See also:
Issues:
- This function currently appears in the AddIn category of the Function Wizard.