📄 stationinit.m
字号:
% Program 7-10
%
% stationInit.m
%
% Programmed by A.Kanazawa
% Checked by H.Harada
%
function STATION = stationInit(d)
% The function to determine the position of BS
STATION = zeros(19,1);
for i = 0:5
STATION(i + 2, 1) = d * cos(i * pi / 3.0) + j * d * sin(i * pi / 3.0);
end
for i = 0:11
STATION(i + 8, 1) = 2 * d * cos(i * pi / 6.0) + j * 2 * d * sin(i * pi / 6.0);
end
%************ end of file************
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -