insert binary number and store it in array

10 ビュー (過去 30 日間)
Bayan
Bayan 2012 年 3 月 31 日
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???

採用された回答

Walter Roberson
Walter Roberson 2012 年 3 月 31 日
Use the 's' option of input()
  1 件のコメント
Jan
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 ExchangeOperators and Elementary Operations についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by