IMLOG2
Returns the base-2 logarithm of a complex number in x + yi or x + yj text format.
If this function is not available, run the Setup program to install the Analysis ToolPak. After you install the Analysis ToolPak, you must enable it by using the Add-Ins command on the Tools menu.
Syntax
IMLOG2(inumber)
Inumber is a complex number for which you want the base-2 logarithm.
Remarks
- Use COMPLEX to convert real and imaginary coefficients into a complex number.
- If inumber is not in the form x + yi or x + yj, IMLOG2 returns the #NUM! error value.
- The base-2 logarithm of a complex number can be calculated from the natural logarithm as follows:
Example
IMLOG2("3+4i")
equals 2.321928 + 1.337804i