insert binary number and store it in array
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi i would to ask the user to insert binary number as that (001010111) then store this number in array each bit in individual cell , How???
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 31 Mär. 2012
Use the 's' option of input()
1 Kommentar
Jan
am 31 Mär. 2012
Then instead of "each bit in an individual cell" you get each character in an individual element of the char vector. But this is most likely what you need. +1
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Operators and Elementary Operations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!