orientationsfixbs.m
来自「The scope of this SCM simulator is to pr」· M 代码 · 共 13 行
M
13 行
function [d thetaBS thetaMS OmegaBS OmegaMS thetav]=Orientations(R)
d=round(R*rand(1));%Distance between the BS and MS in meters
OmegaBS=0;%Angle between the absolute North and the BS antenna broadside
OmegaMS=round(360*rand(1));%Angle between the absolute North and the MS antenna broadside
thetaBS=round(360*rand(1));%Angle between the BS antenna broadside and the LOS connection
thetav=round(360*rand(1));%Angle between the direction of the MS and the LOS connection
thetaMS=round(abs(OmegaBS-OmegaMS+thetaBS+180));%Angle between the MS antenna broadside and the LOS connection
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?