GetBits.m

Extract bits form an uint* word
195 téléchargements
Mise à jour 11 juin 2014

Afficher la licence

% 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

Citation pour cette source

Jan de Wilde (2026). GetBits.m (https://fr.mathworks.com/matlabcentral/fileexchange/46919-getbits-m), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2013b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Author Block Masks dans Help Center et MATLAB Answers
Version Publié le Notes de version
1.0.0.0