Function File: d = bi2de (b)
Function File: d = bi2de (b, f)
Function File: d = bi2de (b, p)
Function File: d = bi2de (b, p, f)

Convert bit matrix to a vector of integers

Each row of the matrix b is treated as a single integer represented in binary form. The elements of b, must therefore be ’0’ or ’1’

If p is defined then it is treated as the base of the decomposition and the elements of b must then lie between ’0’ and ’p-1’.

The variable f defines whether the first or last element of b is considered to be the most-significant. Valid values of f are "right-msb" or "left-msb". By default f is "right-msb".

See also: de2bi.

Package: communications