bitget function working explanation needed
Mostrar comentarios más antiguos
I am completely new to matlab. I am really not able to understand bitget.
The sample code given on the matlab website is:
a1 = intmax('int8');
a2 = intmax('uint8');
b1 = bitget(a1,8:-1:1)
This code is giving me output as
b1 =
1×8 int8 row vector
0 1 1 1 1 1 1 1
Even after seeing the output, I am not being able to interpret the working of bitget. It would be great if someone can explain me this.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Bit-Wise Operations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!