Spatial Channel Model for MIMO Simulations. A Ray based Simulator based on 3GPP TR 25.996 v.6.1.0

源代码在线查看: 1g3.m

软件大小: 560 K
上传用户: kinder121
关键词: based Simulations Simulator Spatial
下载地址: 免注册下载 普通下载 VIP

相关代码

				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				    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);			

相关资源