uwb_sv_params.m

来自「体现了ofdm得一些功能」· M 代码 · 共 43 行

M
43
字号
function [Lam,lambda,Gam,gamma,std_ln_1,std_ln_2,nlos,std_shdw] = uwb_sv_params( cm_num )
% Return S-V model parameters for standard UWB channel models
% Lam    Cluster arrival rate (clusters per nsec)
% lambda Ray arrival rate (rays per nsec)
% Gam    Cluster decay factor (time constant, nsec)
% gamma  Ray decay factor (time constant, nsec)
% std_ln_1 Standard deviation of log-normal variable for cluster fading
% std_ln_2 Standard deviation of log-normal variable for ray fading
% nlos   Flag for non line of sight channel
% std_shdw  Standard deviation of log-normal shadowing of entire impulse response

if cm_num == 1,        % based on TDC measurements for LOS 0-4m
  Lam = 0.0233;  lambda = 2.5;
  Gam = 7.1; gamma = 4.3;
  std_ln_1 = 4.8 / sqrt(2);
  std_ln_2 = 4.8 / sqrt(2);
  nlos = 0;
  std_shdw = 3;
elseif cm_num == 2,    % based on TDC measurements for NLOS 0-4m
  Lam = 0.4;  lambda = 0.5;
  Gam = 5.5; gamma = 6.7;
  std_ln_1 = 4.8 / sqrt(2);
  std_ln_2 = 4.8 / sqrt(2);
  nlos = 1;
  std_shdw = 3;
elseif cm_num == 3,    % based on TDC measurements for NLOS 4-10m
  Lam = 0.0667;  lambda = 2.1;
  Gam = 14.00; gamma = 7.9;
  std_ln_1 = 4.8 / sqrt(2);
  std_ln_2 = 4.8 / sqrt(2);
  nlos = 1;
  std_shdw = 3;
elseif cm_num == 4,    % 25 nsec RMS delay spread bad multipath channel
  Lam = 0.0667;  lambda = 2.1;
  Gam = 24; gamma = 12;
  std_ln_1 = 4.8 / sqrt(2);
  std_ln_2 = 4.8 / sqrt(2);
  nlos = 1;
  std_shdw = 3;
end

return

⌨️ 快捷键说明

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