ヘルプ センターヘルプ センター
ビット単位の演算は、数値のビット パターンを変更するために使用されます。これらの演算は、ほとんどの CPU で直接サポートされているため効率的です。詳細については、ビット単位の演算を参照してください。
bitand
bitor
bitxor
bitcmp
bitget
bitset
bitshift
swapbytes
このトピックでは、MATLAB® でビット単位の演算を使用して数値のビットを操作する方法を説明します。
この例では、数値のビットに対して "巡回冗長検査" (CRC) を実行する方法を説明します。
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office