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!