log2
Base-2 logarithm of symbolic input
Description
Examples
Input Arguments
Output Arguments
Tips
For floating-point input, the syntax
[F,E] = log2(X)
corresponds to the ANSI® C functionfrexp()
and the IEEE® standard functionlogb()
. Any zeros inX
produceF = 0
andE = 0
.
Version History
Introduced before R2006a