代码拉取完成,页面将自动刷新
同步操作将从 openKylin/cybersectookits 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
function [Output_Waveform_MIMO,cdl] = Process_CDL_Channel_UMi(Input_Waveform,Sampling_Rate,Tx_Angle,Rx_Angle,...
Moving_Speed,fc,Chanel_Seed,tauLos,PLosdb,PhiAOA,PhiAOD,PhiZOA,PhiZOD,K,CASDLos,CASALos,...
CZSDLos,CZSALos,XPRLos)
% process CDL Channel
cdl = nrCDLChannel;
cdl.DelayProfile = 'custom';
cdl.CarrierFrequency = fc;
cdl.PathDelays = tauLos;
cdl.AveragePathGains = PLosdb;
cdl.AnglesAoA = PhiAOA;
cdl.AnglesAoD = PhiAOD;
cdl.AnglesZoA = PhiZOA;
cdl.AnglesZoD = PhiZOD;
cdl.HasLOSCluster = false;
% cdl.KFactorFirstCluster = K;
cdl.AngleSpreads = [CASDLos CASALos CZSDLos CZSALos];
cdl.XPR = XPRLos;
cdl.NumStrongestClusters = 0;
% MaximumDopplerShift - 最大多普勒频移 (Hz)
c = physconst('lightspeed'); % 电磁波传播速度 (m/s)
v = Moving_Speed * 1000 / 3600; % UE 移动速度 (m/s)
cdl.MaximumDopplerShift = v / c * cdl.CarrierFrequency; % 最大多普勒频移 (Hz)
% Channel Seed
if(Chanel_Seed>0)
cdl.Seed = Chanel_Seed;
end
cdl.SampleRate = Sampling_Rate;
cdl.TransmitAntennaArray.Size = [1 1 1 1 1]; % 4*8极化天线
cdl.TransmitAntennaArray.ElementSpacing = [0.5 0.5 0.5 0.5]; % 天线间隔 0.5λ
% cdl.TransmitAntennaArray.PolarizationAngles = [-45 45]; % 极化天线角度±45°
cdl.TransmitAntennaArray.Orientation = Tx_Angle; % Tx 天线朝向
% ReceiveAntennaArray - 接收端天线阵列
cdl.ReceiveAntennaArray.Size = [4 8 1 1 1];
% cdl.ReceiveAntennaArray.ElementSpacing = [0.5 0.5 0.5 0.5]; % 天线间隔 0.5λ
% cdl.ReceiveAntennaArray.PolarizationAngles = [-45 45]; % 双极化天线角度±45% UE 单天线
cdl.ReceiveAntennaArray.Orientation = Rx_Angle; % Rx 天线朝向
Output_Waveform_MIMO = cdl(Input_Waveform);
end
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。