base 2 logarithm
y=log2(x)
vector or matrix
log2(x) is the "element-wise" base 2 logarithm y(i,j)=log2(x(i,j)).
log2(x)
y(i,j)=log2(x(i,j))
2.^log2([1,%i,-1,-%i])