📄 orientationsfixbs.m
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -