WorksheetFunction.ImArgument Method
Returns the argument (theta), an angle expressed in radians, such that:
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function ImArgument ( _
Arg1 As Object _
) As String
'Usage
Dim instance As WorksheetFunction
Dim Arg1 As Object
Dim returnValue As String
returnValue = instance.ImArgument(Arg1)
string ImArgument(
Object Arg1
)
Parameters
Arg1
Type: System.ObjectInumber is a complex number for which you want the argument theta.
Return Value
Type: System.String
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