編輯

共用方式為


WorksheetFunction.ImLog2(Object) Method

Definition

Returns the base-2 logarithm of a complex number in x + yi or x + yj text format.

public:
 System::String ^ ImLog2(System::Object ^ Arg1);
public string ImLog2 (object Arg1);
Public Function ImLog2 (Arg1 As Object) As String

Parameters

Arg1
Object

Inumber - a complex number for which you want the base-2 logarithm.

Returns

Remarks

Use Complex(Object, Object, Object) to convert real and imaginary coefficients into a complex number.

The base-2 logarithm of a complex number can be calculated from the natural logarithm as follows:

Figure 1: Equation for base-2 logarithm of a complex number

Applies to