% -*- texinfo -*- % @deftypefn {Function File} {@var{d} = } bi2de (@var{b}) % @deftypefnx {Function File} {@var{d} = } bi2de (@var{b},@var{p}) % @deftypefnx {Function File} {@var{d} = } bi2de (@var{b},@var{p},@var{f}) % % Convert bit matrix to a vector of integers % % Each row of the matrix @var{b} is treated as a single integer represented % in binary form. The elements of @var{b}, must therefore be '0' or '1' % % If @var{p} is defined then it is treated as the base of the decomposition % and the elements of @var{b} must then lie between '0' and 'p-1'. % % The variable @var{f} defines whether the first or last element of @var{b} % is considered to be the most-significant. Valid values of @var{f} are % 'right-msb' or 'left-msb'. By default @var{f} is 'right-msb'. % @end deftypefn % @seealso{de2bi}