WorksheetFunction.ImLog2 Method (Excel)

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

Syntax

expression .ImLog2(Arg1)

expression A variable that represents a WorksheetFunction object.

Parameters

Name

Required/Optional

Data Type

Description

Arg1

Required

Variant

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

Return Value

String

Remarks

  • Use COMPLEX 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: Ff834667.awfimlg2_ZA06051161(en-us,office.14).gif

See Also

Concepts

WorksheetFunction Object

WorksheetFunction Object Members