How to use bitn
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
pretty much the question, i want to write variables as bitn but i dont understand exactly how to
0 Commenti
Risposte (2)
John D'Errico
il 14 Mag 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.
0 Commenti
Vedere anche
Categorie
Scopri di più su Characters and Strings in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!