GetBits.m

バージョン 1.0.0.0 (1.46 KB) 作成者: Jan de Wilde
Extract bits form an uint* word
ダウンロード: 193
更新 2014/6/11

ライセンスの表示

% function [ ret, mask ] = GetBits( uint, Cbits )
%
% Function: Extract the bits form 'uint*' and shift back to LSB=1.
% 'int*' means 'uint8', 'uint16', 'uint32' or 'uint64'.
%
% Bitnumbering: |.......|.......|.......|.......|.......|.......|.......|.......|
% 63 55 47 39 31 23 15 7 0
%
% Testmode: GetBits() No arguments

引用

Jan de Wilde (2025). GetBits.m (https://www.mathworks.com/matlabcentral/fileexchange/46919-getbits-m), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2013b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersAuthor Block Masks についてさらに検索
タグ タグを追加

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0