フィルターのクリア

how can i convert array of bits into single bit stream?

1 回表示 (過去 30 日間)
yogya
yogya 2014 年 10 月 27 日
コメント済み: yogya 2014 年 10 月 27 日
if following is the array maj =
Columns 1 through 16
0 0 1 1 1 0 1 0 0 1 1 0 1 1 1 1
Columns 17 through 32
1 1 1 0 0 1 1 0 0 1 1 0 0 1 1 1
Columns 33 through 48
1 1 1 1 0 1 1 0 1 0 0 1 1 1 0 0
Columns 49 through 64
1 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0
Then how can i convert to a single stream of bits such that it must be
0011101001101111111001100110011111110110100111001110100000000000

採用された回答

Mohammad Abouali
Mohammad Abouali 2014 年 10 月 27 日
Do you mean something like this?
a=round(rand(1,20))
a =
Columns 1 through 16
1 0 1 1 1 1 1 0 0 0 1 0 1 0 1 0
Columns 17 through 20
0 0 1 0
ac=num2str(a);
ac=ac(ac~=' ');
ac =
10111110001010100010
  1 件のコメント
yogya
yogya 2014 年 10 月 27 日
thanks for answering me

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by