Create Scenario

uavTruth and gNBTruth

   Identityname
   Position
   Velocity
   ObjectIDnumber
 # numel(x)计算数组x中的数组元素数目  

getCarrierAndPRSConfigurations(numgNBs,numUAVs),numgNBs和numUAVs表示gNBs和UAVs的个数

配置载波的相关说明

% configures the carriers for all the gNBs and PRS configurations for each gNB and UAV pair.

[!IMPORTANT]

Configure PRS properties

[!IMPORTANT]

Configure 5G Carrier, PRS, and Path Loss

gNB向定位服务器上报每个PRS资源的水平维角度和垂直维角度

PRS(定位参考信号)用于提供定位测量量,包括DL RSTD、 DL PRS RSRP、DL PRS子径接收功率和UE收发时间差等

OFDM 符号个数4096

# TEST
ofdmInfo = 

  包含以下字段的 struct:

                   Nfft: 4096
             SampleRate: 61440000
    CyclicPrefixLengths: [320 288 288 288 288 288 288 320 288 288 288 288 288 288]
          SymbolLengths: [4416 4384 4384 4384 4384 4384 4384 4416 4384 4384 4384 4384 4384 4384]
              Windowing: 144
           SymbolPhases: [0 0 0 0 0 0 0 0 0 0 0 0 0 0]
         SymbolsPerSlot: 14
       SlotsPerSubframe: 1
          SlotsPerFrame: 10

5G Signal Simulation