MTM
log2
compute the base-2 logarithm
Calling Sequence
Parameters
Description
Examples
log2(M)
M
-
array, matrix, vector, or scalar
The log2(M) function computes the element-wise base-2 logarithm of M. The result, R, is formed as R[i,j] = log2(M[i,j]).
with⁡MTM:
M≔Matrix⁡0.3,0.2,0.1,0.4:
log2⁡M
−1.736965594−2.321928095−3.321928095−1.321928095
See Also
log
MTM[log]
MTM[log10]
Download Help Document