Parsing Bits
2 ビュー (過去 30 日間)
古いコメントを表示
Hello,
I have say 4 binary sequences arranged in a matrix where the first row contains the first sequence and the second row contains the second sequence and so on. Now I need to take the bits in each column to form a new 16-QAM symbol. How can I do that?
Thanks
0 件のコメント
回答 (1 件)
Walter Roberson
2012 年 4 月 30 日
idx = 1 + M(:,1)*8 + M(:,2)*4 + M(:,3)*2 + M(:,4);
Now use idx to index into an array of output symbols.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で String Parsing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!