WorksheetFunction.ImArgument(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the argument (theta), an angle expressed in radians, such that:
public:
System::String ^ ImArgument(System::Object ^ Arg1);
public string ImArgument (object Arg1);
Public Function ImArgument (Arg1 As Object) As String
Parameters
- Arg1
- Object
Inumber is a complex number for which you want the argument theta.
Returns
Remarks
Use Complex(Object, Object, Object) to convert real and imaginary coefficients into a complex number.
ImArgument is calculated as follows:
Figure 1: Equation for the ImArgument method
Where:
Figure 2: Equation
and
z = x + yi