

% The TDD uplink-downlink configuration and special subframe % configuration are assumed to be known.

= lteCellSearch(enb,rxwaveform,searchalg) % NDLRB is only required so that lteCellSearch can infer the sampling % rate of 'rxwavefom' Noise = No*complex(randn(size(rxwaveform)),randn(size(rxwaveform))) Rsmeas2 = hRSMeasurements(cell2,rxgridcell2) įprintf( ' RSRP: %7.2fdBm %7.2fdBm\n',txRSRPs(T,1),txRSRPs(T,2)) Rxgridcell2 = lteOFDMDemodulate(cell2,txcell2) Rsmeas1 = hRSMeasurements(cell1,rxgridcell1) Rxgridcell1 = lteOFDMDemodulate(cell1,txcell1) % Perform Reference Signal (RS) measurements on the transmitted % signals. Rxwaveform = rxwaveform + circshift(txcell2,delta_t) Txcell2 = lteRMCDLTool(cell2,randi(,1000,1)) ĭelta_t = round(info.SamplingRate*3e-6) % Time offset between cells % For each time period: for T = 1:nTimePeriodsįprintf( '\n%s\n Time period T%d\n%s\n\n',separator,T,separator) įprintf( ' NCellID: %7d %7d\n',cell1.NCellID,cell2.NCellID)

RxRSRPs = -inf(nTimePeriods,searchalg.MaxCellCount)
