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에서 QAM에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!