insert binary number and store it in array
14 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Walter Roberson
2012-3-31
Use the 's' option of input()
1 个评论
Jan
2012-3-31
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
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Operators and Elementary Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!