亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? main.m

?? 完整的OFDM鏈路程序并作了較為具體的解析從基本的bpsk,qpsk,qam到實際的ofdm系統
?? M
字號:
% Program 7-8
%
% main.m
%
% Programmed by A.Kanazawa
% Checked by H.Harada
%

clear 
%%%%%%%%%%%%%%% Status initialization
I = 1;			% The cluster size is determined from I and J. (n = I*I + J*J + I*J)
J = 2;
r = 100;				% the radius of the cell[m]
h = 0; 					% the height of the BS[m]

D = set_D(I,J,r);
station = stationInit(D);
xbs = real(station); 	% The x axis of the BS
ybs = imag(station);	% The y axis of the BS

sigma = 6.5;			% standard deviation of shadowing

alpha = 3.5;			% path loss factor
% margin = 0;			% The parameter for power control

% Characteristics of antenna gain decision for BS
w_HBS = 60;					% [horizontal]: beam width at BS for the target direction [degree]
backg_BS = -100;			% [horizontal]: antenna gain at BS for the opposite direction [dB]
w_VBS = 360;				% [vertical]: beam width at BS [degree]

% Characteristics of antenna gain decision for MS
w_HMS = 360;				% [horizontal]: beam width at MS for the target direction [degree]
backg_MS = -100;			% [horizontal]: antenna gain at MS for the opposite direction [dB]
w_VMS = 360;				% [vertical]:beam width at MS [degree]

if h == 0, 						 % In the case of macro cell situation, 
   w_VBS = 360; w_VMS = 360; 	 % 		the effect of beam tilt becomes less.
end								 %

% Antenna gain calculation of each BS
g_HBS = antgain(w_HBS, backg_BS);
g_VBS = antgain(w_VBS, 0);
g_HMS = antgain(w_HMS, backg_MS);
g_VMS = antgain(w_VMS, 0);

%%%%%%%%%%%%%%% Loop
%-------Initialization of MS positions
N=1000;					% The number of repeat 
for num = 1:N,
	Rx = rand(1,19);	% the random values: [0-1]
	Ry = rand(1,19);	% the random values: [0-1]
	X = r*Rx;			
	Y = Ry.* sqrt ( r ^2 - X.^2 );	

	tx = 2*((rand(1,19)>0.5) -0.5);	% the random values: -1 or 1
	ty = 2*((rand(1,19)>0.5) -0.5);	% the random values: -1 or 1
	x= X.* tx;	% The x axis of the MS when we regard the position of each BS as (0,0)
	y= Y.* ty;	% The y axis of the MS when we regard the position of each BS as (0,0)

	x2 = x+xbs.';	% The x axis of the MS when we regard the position of central BS as (0,0)
	y2 = y+ybs.'; % The y axis of the MS when we regard the position of central BS as (0,0)

	z(1,:) = x + i * y;		% The complex expression of MS when we regard the position of each BS as (0,0)
	z(2,:) = x2+ i * y2;	% The complex expression of MS when we regard the position of central BS as (0,0)

	d(1,:) = abs(z(1,:));	%	The distance between BS_i and MS_i in horizontal axis
	d(2,:) = abs(z(2,:));	%	The distance between central BS and MS_i in horizontal axis
	d2 = sqrt(d.^2 + h^2); 	%	The distance 

	phai(1,:) = angle(z(1,:));	%	The angle difference between BS_i and MS_i [rad]
	phai(2,:) = angle(z(2,:));	%	The angle difference between central BS and MS_i [rad]
	deg = phai*180/pi;			% the conversion of radian to degree
   
   if h ==0, degH = 90*ones(1,19); 
      else
         phaiH = atan(d(2,:)/h); % the elevation angle between central BS and MS_i
         degH = phaiH*180/pi; 			% the conversion of radian to degree
      end

%-------shadowing----------
	for m = 1:19 	
		g(m) = 10*log10(shadow(sigma));
	end
% ----- propagation loss -----
	Loss(1,:) = 10 * log10(d2(1,:).^alpha);		% The propagation loss from MS_i to BS_i [dB]
	Loss(2,:) = 10 * log10(d2(2,:).^alpha);		% The propagation loss from MS_i to BS_0 [dB]
	Loss_max = 10 * log10(r.^alpha);	% The propagation loss from the cell boundary to BS [dB]
   
% Free space loss   
%    wl = 0.1;
%   Loss(1,:) = 10 * log10((4*pi*d2(1,:)/wl).^2);		% The propagation loss from MS_i to BS_i [dB]
%	Loss(2,:) = 10 * log10((4*pi*d2(2,:)/wl).^2);		% The propagation loss from MS_i to BS_0 [dB]
%	Loss_max = 10 * log10((4*pi*r/wl).^2);	% The propagation loss from the cell boundary to BS [dB]

%--------Transmission power level of each MS [dB]------------

	Ptm_0= Loss_max*ones(1,19);			% no power control
 %  Ptm_0= Loss(1,:) + margin;			% power control (with margin [dB])
 
 %--------- Calculation of antenna gain for the target direction
 
	deg_B = deg(2,1)-deg(2,:); % the angle difference between the MS_0 and MS_i from central BS
	deg_M = deg(1,:)-deg(2,:);% the angle difference between the BS_0 and BS_i from MS_i
   
    degHBS = mod(round(deg_B),360);	
    degHMS = mod(round(deg_M),360);
    degVBS = round(degH-degH(1));	% the angle difference in vertical direction between MSs and central BS
    degVMS = degVBS;		% the angle difference in vertical direction between MSs and central BS
    
    %-----Calculation of CIR at centered BS  
    %Control
	CIdB_a= Ptm_0(1:19)+g_HBS(degHBS(1:19)+1) + g_VBS(degVBS(1:19)+1) + g_HMS(degHMS(1:19)+1) + g_VMS(degVMS(1:19)+1)- Loss(2,1:19)-g(1:19);	% Received level at central BS (beam forming)
	CIw_a = 10 .^ ( CIdB_a ./ 10 );				% dB 仺 W
	isum_a = sum( CIw_a(2:19));
	CIR_a(num) =   CIw_a(1) / isum_a;
	%No Control
	CIdB_o= Ptm_0(1:19)- Loss(2,1:19)-g(1:19);	 % Received level at centered BS (Omni)	
	CIw_o= 10 .^ ( CIdB_o ./ 10 ); 				% dB 仺 W
	isum_o = sum( CIw_o(2:19));
	CIR_o(num) =  CIw_o(1) / isum_o;
	   
   %-----Calculation of CIR under various w_HBS
   %ii = 1;
   %for w_HBS2=30:10:180,
   %		g_HBS2 = antgain(w_HBS2, backg_BS);    
   %	CIdB_a2= Ptm_0(1:19)+g_HBS2(degHBS(1:19)+1) + g_VBS(degVBS(1:19)+1) + g_HMS(degHMS(1:19)+1) + g_VMS(degVMS(1:19)+1)- Loss(2,1:19)-g(1:19);	% Received level at central BS (beam)
   %	CIw_a2 = 10 .^ ( CIdB_a2 ./ 10 );				% dB 仺 W
   %	ciw_a2 = sum( CIw_a2(2:19));
   %	CIR_a2(num,ii) =   CIw_a2(1) / ciw_a2;
   %   ii = ii+1;   
   %end
	
end
%-----statistics

CA = 10 * log10(sum(CIR_a)/N);
CO = 10 * log10(sum(CIR_o)/N);

%----result
CA-CO									% Improvement

%-----Calculation of CIR under various w_HBS
% CA2= 10 * log10(sum(CIR_a2)/N);
% CA2-CO
% plot(30:10:180,CA2-CO)

%************ End of file ************

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区久久| 欧美精品免费视频| 成人一区二区三区视频在线观看| 色成人在线视频| 久久久噜噜噜久噜久久综合| 亚洲综合男人的天堂| 国产成人鲁色资源国产91色综| 欧美年轻男男videosbes| 国产片一区二区三区| 奇米亚洲午夜久久精品| 色呦呦一区二区三区| 国产日韩亚洲欧美综合| 免费高清成人在线| 欧美日韩国产成人在线91| 国产精品国产三级国产有无不卡| 九九**精品视频免费播放| 制服丝袜一区二区三区| 亚洲综合小说图片| 99精品欧美一区| 国产精品污污网站在线观看| 国产真实精品久久二三区| 日韩一区二区在线看| 亚洲成a人片在线不卡一二三区| 色综合天天综合网国产成人综合天| 久久免费看少妇高潮| 激情综合网最新| 日韩视频免费观看高清完整版 | 在线观看国产精品网站| 中文字幕巨乱亚洲| 国产成人亚洲综合a∨婷婷| 精品国产1区二区| 黄一区二区三区| 欧美不卡视频一区| 久久er99热精品一区二区| 欧美一级二级三级蜜桃| 老鸭窝一区二区久久精品| 日韩无一区二区| 久久精品国产精品亚洲红杏| 精品剧情在线观看| 国产综合久久久久久鬼色| 久久尤物电影视频在线观看| 国产精品综合二区| 中文字幕乱码亚洲精品一区| 91污片在线观看| 一区二区三区久久久| 在线电影一区二区三区| 裸体在线国模精品偷拍| 精品福利一区二区三区| 高清shemale亚洲人妖| 综合av第一页| 欧美精品99久久久**| 精油按摩中文字幕久久| 国产亚洲欧美在线| 91蝌蚪porny| 性做久久久久久免费观看欧美| 91麻豆精品国产91久久久久| 国内精品自线一区二区三区视频| 国产日韩精品一区| 在线观看亚洲一区| 久久精品av麻豆的观看方式| 中文天堂在线一区| 欧美日韩一区二区三区视频 | 国产精品中文欧美| 综合精品久久久| 欧美一区二区私人影院日本| 国产高清精品久久久久| 亚洲精品久久7777| 精品国产乱码久久久久久老虎| 成人激情校园春色| 日韩国产欧美三级| 国产精品女人毛片| 91麻豆精品国产自产在线| 成人激情免费视频| 蜜臀国产一区二区三区在线播放| 国产色产综合产在线视频| 色偷偷成人一区二区三区91| 国内一区二区视频| 亚洲一区二区四区蜜桃| 国产亚洲欧美日韩日本| 欧美日韩电影在线| 成人精品国产免费网站| 蜜桃精品在线观看| 亚洲人成小说网站色在线| 日韩一卡二卡三卡四卡| 欧美专区日韩专区| 国产成人免费在线观看不卡| 全部av―极品视觉盛宴亚洲| 亚洲色图清纯唯美| 久久精品视频在线看| 欧美一区二区三区视频在线| 日本高清无吗v一区| 国产黄色精品视频| 六月丁香婷婷色狠狠久久| 亚洲午夜久久久久久久久电影网 | 日韩免费观看高清完整版 | 欧美成人aa大片| 欧美亚洲国产一区二区三区| jizz一区二区| 国产91精品精华液一区二区三区| 欧美aaaaaa午夜精品| 一级日本不卡的影视| 国产精品超碰97尤物18| 久久九九国产精品| 久久这里只精品最新地址| 欧美成人女星排名| 欧美日韩视频在线第一区| 欧美主播一区二区三区| 色天天综合色天天久久| 99精品欧美一区二区三区小说| 成人午夜又粗又硬又大| 国产精品一区三区| 国产真实乱子伦精品视频| 精品影视av免费| 毛片av一区二区| 免费在线观看一区二区三区| 日韩精品一级中文字幕精品视频免费观看 | www.亚洲激情.com| 国产成a人亚洲精品| 成人爽a毛片一区二区免费| 国产成人综合网站| 成人免费观看视频| 不卡一区二区在线| 色屁屁一区二区| 欧美自拍丝袜亚洲| 3d成人h动漫网站入口| 91精品国产综合久久精品app| 欧美乱妇一区二区三区不卡视频| 欧美丰满高潮xxxx喷水动漫| 欧美肥妇bbw| 久久丝袜美腿综合| 国产精品国产三级国产有无不卡| 亚洲六月丁香色婷婷综合久久 | 中文字幕第一区综合| 中文字幕亚洲成人| 亚洲免费观看高清完整版在线观看 | 天天综合色天天综合| 美国毛片一区二区| 国产suv一区二区三区88区| 91影视在线播放| 91.麻豆视频| 91精品综合久久久久久| 99热99精品| 欧美视频日韩视频在线观看| 91 com成人网| 日韩精品专区在线| 中文字幕av一区 二区| 亚洲另类春色校园小说| 日日摸夜夜添夜夜添国产精品 | 91国产福利在线| 制服丝袜日韩国产| 国产亚洲精品7777| 亚洲一区二区三区小说| 精一区二区三区| 色综合天天综合网天天看片| 欧美精品高清视频| 中文字幕精品综合| 日产国产欧美视频一区精品| 成人午夜电影网站| 欧美一区二区福利在线| 国产精品国产三级国产aⅴ无密码| 天天色综合成人网| 丰满少妇在线播放bd日韩电影| 激情久久久久久久久久久久久久久久| 成人av综合在线| 色噜噜久久综合| 日韩欧美一区二区在线视频| 国产精品的网站| 久久精品99国产精品日本| 91理论电影在线观看| 2020国产精品| 亚洲第一会所有码转帖| 成人动漫一区二区三区| 亚洲日本护士毛茸茸| 九色综合国产一区二区三区| 91黄色免费看| 中文字幕一区二区三区色视频| 久久99热99| 4438x亚洲最大成人网| 一卡二卡三卡日韩欧美| 成人免费视频播放| 久久久久久久精| 九一久久久久久| 日韩小视频在线观看专区| 午夜欧美在线一二页| 91国内精品野花午夜精品| 成人免费在线视频| 成人国产一区二区三区精品| 亚洲午夜一二三区视频| 狠狠色综合播放一区二区| 欧美日韩一区在线观看| 亚洲色图欧美在线| 91在线视频18| 国产精品免费av| 成人一区在线观看| 国产欧美精品一区二区色综合| 九九精品一区二区| wwwwxxxxx欧美| 国产另类ts人妖一区二区| 久久综合久久鬼色| 国产精品一区二区在线观看网站|