Maximum variable size allowed by the program is exceeded.
이전 댓글 표시
I am performing ML detection for 4x4 MIMO with 64 QAM modulation. To perform ML, I need to generate the entire symbolset of 4x4 64QAM. I used the following lines of code, which generated the error "Maximum variable size allowed by the program is exceeded."
allBits = de2bi(0:2^(modOrd*N)-1, 'left-msb')';
Here modOrd = 6 (2^6 = 64) and N = 4.
The following error occurs here :
Maximum variable size allowed by the program is exceeded.
Error in de2bi (line 173)
b = zeros(len_d, n);
Error in algo3 (line 29) allBits = de2bi(0:2^(modOrd*N)-1, 'left-msb')';
I need to generate all Tx'ed signals from 'allBits' as given below
allTxSig = reshape(step(hMod, allBits(:)), N, 2^(modOrd*N));
Pls. suggest a workaround.
Thanks
답변 (1개)
Roger Stafford
2013년 11월 25일
편집: Roger Stafford
2013년 11월 25일
0 개 추천
Perhaps matlab is objecting to a matrix with 2^26 = 67,108,864 elements. That's a very large matrix.
카테고리
도움말 센터 및 File Exchange에서 QAM에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!