% 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
Citar como
Jan de Wilde (2024). GetBits.m (https://www.mathworks.com/matlabcentral/fileexchange/46919-getbits-m), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2013b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Author Block Masks en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |