Maximum variable size allowed by the program is exceeded.
Show older comments
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
Answers (1)
Roger Stafford
on 25 Nov 2013
Edited: Roger Stafford
on 25 Nov 2013
0 votes
Perhaps matlab is objecting to a matrix with 2^26 = 67,108,864 elements. That's a very large matrix.
Categories
Find more on QAM in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!