reverselink.m

来自「This program shows the distributions of 」· M 代码 · 共 24 行

M
24
字号
% Reverse Link

close all
clear all

N = 1
n = 2
M = 10000;

MSPos = RandMS(M,1);
CelLoc = AdjCel1(N);

IntMS = RandMS(M,18)+ones(M,1)*CelLoc';
ds = (abs(MSPos)).^-n;
ditemp = (abs(IntMS)).^-n;
di = ditemp*ones(18,1);

SIR = 10*log(ds./di);
%EverageSIR = SIR*ones(1,M)/M
hist(SIR,-300:500)
title('pdf of SIR');
xlabel('SIR(dB)');
ylabel('pdf');

⌨️ 快捷键说明

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