log2 - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


MTM

  

log2

  

compute the base-2 logarithm

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

log2(M)

Parameters

M

-

array, matrix, vector, or scalar

Description

• 

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]).

Examples

withMTM:

MMatrix0.3,0.2,0.1,0.4:

log2M

−1.736965594−2.321928095−3.321928095−1.321928095

(1)

See Also

log

MTM[log]

MTM[log10]