omnilobe.m
来自「基于OFDM的无线宽带系统仿真It contains mainly two pa」· M 代码 · 共 29 行
M
29 行
function lobevector = omnilobe(gain)% DESCRIPTION lobevector = omnilobe% Creates an antenna lobe vector. The antenna lobe is a% circle with radius 'gain' dB, if 'gain' is present, otherwise% with radius 3.0244 dB. The gain 3.0244 is chosen because% its sum in all direction will be equal to the sum in the% sinclobe case.% OUTPUT% lobevector -- A row vector containing the gain in each 1 degree direction.% The length of the vector is 360 where last index corresponds% zero degrees and first index to 1 degree.% TRY% cd ../examples; antenna_lobe; cd ../runemain% sum(10.^(sinclobe/10))/sum(10.^(omnilobe/10))% Comparison between sinc and omni.% SEE ALSO% sinclobe% by Sofia Mosesson 000626if exist('gain', 'var') lobevector = ones(360,1)*gain;else lobevector = ones(360,1)*3.0244;end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?