Maximum variable size allowed by the program is exceeded. FOR OCDM MODULATION
Mostrar comentarios más antiguos
i need a help plzzzz !
i would have the OCDM modulation BER SNR figure for 64 QAM
so had a problem at this point, matlab give me this problem : Maximum variable size allowed by the program is exceeded.
here is the code :

%% Simulation Parameters
% OCDM Modulation
num_OCDMGrdIntv = 16; %c'est = num_OCDMSymbol/16
num_OCDMSymbol = 256; % number of symbol
num_OCDMChirp = 256; %number of subcarriers
num_OCDMBlock = 2^6;
OCDMParam = struct;
OCDMParam.Num_GrdIntv = num_OCDMGrdIntv;
OCDMParam.Num_Symbol = num_OCDMSymbol;
OCDMParam.Num_Chirp = num_OCDMChirp;
OCDMParam.Num_Block = num_OCDMBlock;
% Symbol Mapping
num_ModemOrder = 64; % Oder da modulaQAM
%symbolConstMapping = qammod( ( 0 : 2^num_ModemOrder - 1 ).', 2^num_ModemOrder, 'InputType', 'integer', 'UnitAveragePower', true );
if num_ModemOrder==4
symbolConstMapping=qamdemod(( 0 : 2^num_ModemOrder - 1 )/sqrt(1/2),num_OCDMSymbol);
end
if num_ModemOrder==16
symbolConstMapping=qamdemod(( 0 : 2^num_ModemOrder - 1 )/sqrt(1/10),num_OCDMSymbol);
end
if num_ModemOrder==64
symbolConstMapping=qamdemod(( 0 : 2^num_ModemOrder - 1 )/sqrt(1/46),num_OCDMSymbol);
end
% OCDM Channel Equalization
OCDMChEst_Param = struct;
OCDMChEst_Param.EQUMode = 1;
OCDMChEst_Param.SNR = 100;
OCDMChEst_Param.CFR = 1;
% Signal Frame
num_InfoBit = num_ModemOrder * num_OCDMSymbol * num_OCDMBlock;
num_ModSignal = ( num_OCDMChirp + num_OCDMGrdIntv ) * num_OCDMBlock;
% Multipath Fading Channel
mode_Multipath = 'LTE-EVA';
switch mode_Multipath
case 'AWGN'
case 'EquiPath'
Ch_MultiPath_PDP = [ 1, 1, 1, 1, 1, 1 ].'; % Power delay profile
Ch_MultiPath_DP = [ 0, 6, 8, 11, 17, 25 ].'; % Delay profile
case 'LTE-EVA'
Ch_EVA_DelayProfile = [
0 0.0
30 -1.5
150 -1.4
310 -3.6
370 -0.6
710 -9.1
1090 -7.0
1730 -12.0
2510 -16.9
];
Ch_MultiPath_PDP = 10.^( Ch_EVA_DelayProfile( : , 2 ) ./ 10 );
Ch_MultiPath_DP = round( Ch_EVA_DelayProfile( : , 1 ) ./ 1e9 .* 100e6 );
otherwise
end
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Text Data Preparation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
