IMLOG Function in Google Sheets

Compute the logarithm of a complex number with a specified base using the IMLOG function.

IMLOG Function

The IMLOG function in Google Sheets returns the logarithm of a complex number to a specified base.

Syntax

IMLOG(value, base)
  • value: The complex number for which you want to compute the logarithm.
  • base: The base of the logarithm.

Examples

  1. Basic Logarithm Calculation

Compute the logarithm of the complex number 1+2i with base 10:

=IMLOG("1+2i", 10)

This will output 0.397+0.245i.

Notes

  • The complex number should be in text format (e.g., ā€œ1+2iā€).
  • The base should be a positive number greater than 1.
  • IMEXP: Compute the exponential of a complex number.
  • IMLN: Compute the natural logarithm of a complex number.