Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Bit-Wise Operations

Set, shift, or compare specific bit fields

Functions

bitand Bit-wise AND
bitcmp Bit-wise complement
bitget Get bit at specified position
bitor Bit-wise OR
bitset Set bit at specific location
bitshift Shift bits specified number of places
bitxor Bit-wise XOR
swapbytes Swap byte ordering
Was this topic helpful?