Scilab 6.0.0
Scilab Help >> Elementary Functions > Log - exp - power > log2
log2
base 2 logarithm
Syntax
y=log2(x)
Arguments
- x
vector or matrix
Description
log2(x)
is the "element-wise" base 2 logarithm
y(i,j)=log2(x(i,j))
.
Examples
2.^log2([1,%i,-1,-%i])
Comments
Add a comment:
Please login to comment this page.