The Excel Imlog2 function calculates the base 2 logarithm of a supplied complex number.
The syntax of the function is:
where the inumber argument is the complex number that you want the base 2 logarithm of.
In the example spreadsheets below, the Excel Imlog2 function is used find the base 2 logarithm of five different complex numbers.
Formulas:
|
Results:
|
Note that, in the above example spreadsheet, the integer 6, used in cell B3, is equal to the complex number 6+0i.
Further details of the Excel Imlog2 function are provided on the Microsoft Office website.
If you get an error from the Excel Imlog2 Function, this is likely to be one of the following:
#NUM! | - | Occurs if the supplied inumber argument is not recognised as a complex number. |
#VALUE! | - | Occurs if the supplied inumber argument is a logical value. |