⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 g3.m

📁 The scope of this SCM simulator is to provide an easy-to-use, GUI supported, MATLAB developed applic
💻 M
字号:
function [G,A]=G3(Ang)
%The function G3.m gives the 3 Sector antenna numeric gain and 
%attenuation.
%
%Input Parameters
%
%Ang is the angle between the direction of interest and the boresight
%of the antenna in degrees. 
%
%Output Parameters
%
%G is the numeric antenna gain in dBs
%
%A is the antenna attenuation in dB
if Ang>180
    Ang=360-Ang;
elseif Ang<-180
    Ang=360+Ang;
end
Am=20;%3 Sector antenna maximum attenuation in dB
Ang3db=70;%3 Sector 3 dB beamwidth in de;grees
A=-min(12*((Ang/Ang3db)^2),Am);
G=10^(0.1*A);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -