Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - 日本語

Please note that the recommended version of Scilab is 6.0.2. This page might be outdated.
See the recommended documentation of this function

Scilab manual >> Elementary Functions > log2

log2

base 2 logarithm

Calling Sequence

y=log2(x)

Arguments

x

vector or matrix

Description

decimal logarithm.If x is a vector log2(x)=[log2(x1),...,log2(xn)].

Examples

2.^log2([1,%i,-1,-%i])
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jan 26 16:23:40 CET 2011