Home > freetb4matlab > general > bitget.m

bitget

PURPOSE ^

% Return the status of bit(s) @var{n} of unsigned integers in @var{a}

SYNOPSIS ^

function X = bitget (A, n)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {@var{X} =} bitget (@var{a},@var{n})
% Return the status of bit(s) @var{n} of unsigned integers in @var{a}
% the lowest significant bit is @var{n} = 1.
%
% @example
% @group
% bitget (100, 8:-1:1)
% @result{} 0  1  1  0  0  1  0  0 
% @end group
% @end example
% @seealso{bitand, bitor, bitxor, bitset, bitcmp, bitshift, bitmax}
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sat 16-May-2009 00:04:49 by m2html © 2003