i work with LTE_sim_main_launcher_femtocells.m
i know that hRSMeasurements function calculate RSRP in MATLAB normally, but how to calculate RSRP in simulator specially in LTE_sim_main_launcher_femtocells.m?
We do not support the calculation of RSRP due to the huge overhead that would take during simulations (i.e., using RSRP for cell association). Also because in our simulator we go for SINR which is a scientific metric rather than what the user equipment in reality measures.
What you could do is, in the UE object +network_elements/UE.m, define the RSRP metric in the link_quality_model(), after the wideband_SINR calculation.
In hRSMeasurements.m in MATLAB in line 50 to 59 says:
% rmc = lteRMCDL(‘R.12’);
% rmc.TotSubframes = 1;
% txWaveform = lteRMCDLTool(rmc,[1;0;0;1]);
% EsdBm = -90;
% rxWaveform = txWaveform * sqrt(10^((EsdBm-30)/10));
% rxGrid = lteOFDMDemodulate(rmc,rxWaveform);
% meas = hRSMeasurements(rmc,rxGrid)
according you said if i want add RSRP metric in the link_quality_model(), after the wideband_SINR calculation, i know that how calculate rxGrid from SINR but i dont know how and what parameters gather in Reference Measurement Channel(rmc) as input of hRSMeasurements function? should i use for example rmc = lteRMCDL(‘R.12’) or another way?