How to use bitn
5 views (last 30 days)
John D'Errico on 14 May 2022
You cannot define a scalar variable as a binary one with an arbitrary number of bits. You can define integer variables, with a specific number of choices, but those integer classes are limited.
However, nothing stops you from defining a vector that would contain the bits as you wish, as separate elements of that vector.