Author: Oscar Cronquist Article last updated on November 10, 2022

How to use the IMLOG2 function

The IMLOG2 function calculates the base 2 logarithm of a complex number in x + yi or x + yj text format.

The letter j is used in electrical engineering to distinguish between the imaginary value and the electric current.

The base 2 logarithm of a complex number is calculated like this:

C = x + yi

IMLOG2(C) =log2(e)ln(x+yi)

1. IMLOG2 Function Syntax

IMLOG2(inumber)

Back to top

2. IMLOG2 Function Arguments

inumber Required. A complex number in x+yi or x+yj text format.

Back to top

3. IMLOG2 function example

How to use the IMLOG2 function

The image above demonstrates a formula in cell D3 that calculates the base 2 logarithm of a complex number specified in cell C3.

Formula in cell C3:

=IMLOG2(B3)

3.1 Explaining formula

Step 1 - Populate arguments

IMLOG2(inumber)

becomes

IMLOG2(B3)

Step 2 - Evaluate the IMLOG2 function

IMLOG2(B3)

becomes

IMLOG2("1+2i")

and returns

1.16096404744368+1.59727796468811i

Back to top