arg

Phase angle of complex number

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This function returns the Real argument of the Complex input, i.e., its angle.

Syntax

phi = arg(c, phi0)

Inputs (2)

c

Type: Complex

Description: Complex number

phi0

Default Value: 0

Type: Angle (rad)

Description: Phase angle phi shall be in the range: -pi < phi-phi0 < pi

Outputs (1)

phi

Type: Angle (rad)

Description: = phase angle of c