How to use bitn
Ältere Kommentare anzeigen
pretty much the question, i want to write variables as bitn but i dont understand exactly how to
Antworten (2)
the cyclist
am 14 Mai 2022
0 Stimmen
John D'Errico
am 14 Mai 2022
0 Stimmen
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.
Kategorien
Mehr zu Whos finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!