IMLOG2 Function in Google Sheets

Calculate the base-2 logarithm of a complex number using the IMLOG2 function.

IMLOG2 Function

The IMLOG2 function in Google Sheets returns the base-2 logarithm of a complex number.

Syntax

IMLOG2(value)
  • value: The complex number for which to calculate the logarithm. This is a required parameter.

Examples

  1. Basic Usage

Calculate the base-2 logarithm of the complex number 4+3i:

=IMLOG2("4+3i")

This will output approximately 2.1517+0.7549i.

Notes

  • The complex number can be provided as a string, e.g., ā€œ4+3iā€.
  • The function works with any valid complex number format.
  • IMLOG10: Calculate the base-10 logarithm of a complex number.
  • IMLOG: Calculate the natural logarithm of a complex number.