资源简介
关于蜂窝小区的matlab仿真程序和一本书籍,很有参考价值
代码片段和文件信息
% File: c17_cellularsetup.m
% Software given here is to accompany the textbook: W.H. Tranter
% K.S. Shanmugan T.S. Rappaport and K.S. Kosbar Principles of
% Communication Systems Simulation with Wireless Applications
% Prentice Hall PTR 2004.
%
% ===== Pre-defined parameters =========================================
r_cell = 1000; % cell radius (in meters)
n_co_ch_users = 6; % number of co-channel users
P_BS = 0; % BS transmitter power (in dBW)
P_MS = 0; % MS transmitter power (in dBW)
corr_fwd = 0.0; % correlation coefficient - forward link
corr_rev = 0.0; % correlation coefficient - reverse link
K = 1; % constant in the link equation
in_beam = 0; % maximum gain of the sectorized antennas (in dB)
% --- Limits (angles) of each sector ---
sector_min = zeros(63);
sector_max = zeros(63);
sector_min(:1) = (pi/3)*[-3:2]‘;
sector_min([1:3]2) = pi/3*[-3 -1 1]‘;
sector_min(13) = -pi;
sector_max(:1) = sector_min(:1) + pi/3;
sector_max([1:3]2) = sector_min([1:3]2) + 2*pi/3;
sector_max(13) = pi;
%
% --- Center of each sector ----
%
phi_center = zeros(63);
phi_center(:1) = (pi/3)*[-3:2]‘;
phi_center([1:3]2) = (pi/3)*[-3 -1 1]‘;
%
% --- Beamwidth of each sector ---
%
phi_BW = [1 2 6]*pi/3;
%
% --- Number of sectors -----
%
num_sectors = [6 3 1];
%
% ===== User Inputs =========================================
%
num_snapshots = input(‘Number of snapshots = ‘);
cluster_size = input(‘Cluster size (3 4 or 7) = ‘);
n_path = input(‘Path loss exponent = ‘);
sigma_int = input(‘Shadowing std deviation - interference (dB) = ‘);
sigma_S = input(‘Shadowing std deviation - desired signal (dB) = ‘);
sec = input(‘Sectorization (1=>60-sectoring 2=>120-sectoring 3=>omni). enter ---> ‘);
ftb = input(‘Front-to-back ratio of the BS antennas (dB) = ‘);
out_beam = in_beam - ftb;
SIR_target_lower=input(‘the lower value of the target SIR_target (dB)= ‘);
SIR_target_upper=input(‘the upper value of the target SIR_target (dB)= ‘);
% End of script file.
P_fwd_average_outage=zeros(41);
P_rev_average_outage=zeros(41);
P_fwd_outage_A=zeros(41);
P_rev_outage_A=zeros(41);
P_fwd_outage_B=zeros(41);
P_rev_outage_B=zeros(41);
for SIR_target=SIR_target_lower:SIR_target_upper
P_fwd_outage=0;
P_rev_outage=0;
Num_A_fwd=0;
Num_A_rev=0;
Num_B_fwd=0;
Num_B_rev=0;
for i=1:num_snapshots
%location of base stations (center cell is located at x=0y=0)
%Location (angular) of the center cell of each cluster in the first tier
theta_N=[pi/6 0 pi/6 asin(1/(2*sqrt(7)))];
aux_1=[1 0 2 3 0 0 4];
theta=pi/3*[0:5]‘;
ind=aux_1(cluster_size);
%Location [xy] of the center cells of all clusters in the first tier
bs_position=[sqrt(3*cluster_size)*r_cell*cos(theta+theta_N(ind)) sqrt(3*cluster_size)*r_cell*sin(theta+theta_N(ind))];
%Determination of the sector to simulated in this snapshot(˲̬ͼ)
%--------Select(randomly)a sector-------
sector=unidrnd(num_secto
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 7077661 2009-09-17 09:14 Prentice Hall - Principles of Communication System Simulation with Wireless Aplications.pdf
文件 1237 2009-09-17 10:26 c17_erlangb\c17_erlangb.m
文件 250 2009-09-22 10:34 c17_erlangb\erlang_b.m
文件 250 2009-09-17 12:28 c17_erlangb\erlang_b.asv
文件 165 2009-09-17 10:44 c17_erlangb\test.m
文件 7539 2009-09-23 15:08 c17_erlangb\ALL.m
文件 943 2009-09-18 10:12 c17_erlangb\wilkinson.m
目录 0 2009-09-17 10:29 c17_erlangb
----------- --------- ---------- ----- ----
7088045 8
- 上一篇:浙大matlab课件
- 下一篇:李纯明老师的level set代码和相关论文
相关资源
- 浙大matlab课件
- MATLAB数字信号处理GUI设计
- Matlab使用说明书
- matlab-lssvm程序
-
锅炉simuli
nk仿真 - 《MATLAB在数学建模中的应用卓金武》
- 基于matlab gui的图像处理课程实验演示
- 男女声音分离的matlab代码
- k均值聚类算法的原理与matlab实现
- SIFT matlab实现源码
- 基于Matlab的车牌识别系统神经网络
- 模式分类第2版课后习题答案所有习题
- Matlab关于数字信号处理的常用函数集
- 一种简单的数字图像复制粘贴检测
- 最优化方法及其Matlab程序设计.pdf
- matlab智能算法30个案例分析第二版代码
- 基于matlab的三维地球模型
- Matlab编写多目标优化算法NSGA-Ⅱ的详解
- MATLAB2019A官方手册.pdf
- 自动驾驶matlab
- 利用MATLAB画简单的路线图
- 核密度估计matlab程序
- 全面详解LTE:MATLAB建模、仿真与实现
- MATLAB编程(第二版)-菜鸟入门教材
- 基于MATLAB实现图片透视效果矫正
- 机械振动系统的matlab模拟程序
- 7站定位,基于matlab声源定位
- 基于matlab的cdma通信系统的仿真
- 遗传算法 -- matlab ga工具箱
- QFT-Matlab设计工具箱
评论
共有 条评论