Documentation/How Tos/Calc: IMARGUMENT function

From Apache OpenOffice Wiki
< Documentation‎ | How Tos
Revision as of 18:12, 22 February 2008 by Drking (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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, where a is the real part and b the imaginary part.
IMARGUMENT returns the argument of complexnumber in radians - that is, in a polar representation, the angle relative to the horizontal axis. If a+bi = r(cosφ + isinφ) then IMARGUMENT("a+bi") returns φ.

Example:

IMARGUMENT("3+3i")

returns 0.785398163397 - that is 2π/8 radians.

See also:

IMABS

Complex Number functions

Issues:

  • This function currently appears in the AddIn category of the Function Wizard.
Personal tools