⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cp0802_channel_ieeeuwb.m

📁 uwb无线电基础书本(电子工业出版社)的MATLAB程序
💻 M
字号:
function [h] = cp0802_channel_IEEEuwb(N_los,PT);

tx = 1;               
c0 = 10^(-47/20);      %47 dB  attenuation 
d = 2;        %distance between  tx and rx
gamma1 = 1.7;          %attenuation  index
[rx,ag] = cp0801_pathloss(tx,c0,d,gamma1);    % ag is  channel  gain
TMG = ag^2;

if N_los==1 
    LAMBDA = 0.0233e9;      % Cluster Arrival Rate (1/s)
    lambda = 2.5e9;           % Ray Arrival Rate (1/s)
    GAMMA = 7.1e-9;            % Cluster decay factor  
    gamma = 4.3e-9;            % Ray decay factor  
    sigma1 = 10^(3.3941/10);  % Stdev of the cluster fading
    sigma2 = 10^(3.3941/10);  % Stdev of the ray fading
    sigmax = 10^(3/10);       % Stdev of lognormal shadowing
end
if N_los==2 
    LAMBDA = 0.4e9;      % Cluster Arrival Rate (1/s)
    lambda = 0.5e9;           % Ray Arrival Rate (1/s)
    GAMMA = 5.5e-9;            % Cluster decay factor  
    gamma = 6.7e-9;            % Ray decay factor  
    sigma1 = 10^(3.3941/10);  % Stdev of the cluster fading
    sigma2 = 10^(3.3941/10);  % Stdev of the ray fading
    sigmax = 10^(3/10);       % Stdev of lognormal shadowing
end    
if N_los==3 
    LAMBDA = 0.0667e9;      % Cluster Arrival Rate (1/s)
    lambda = 2.1e9;           % Ray Arrival Rate (1/s)
    GAMMA = 14e-9;            % Cluster decay factor  
    gamma = 7.9e-9;            % Ray decay factor  
    sigma1 = 10^(3.3941/10);  % Stdev of the cluster fading
    sigma2 = 10^(3.3941/10);  % Stdev of the ray fading
    sigmax = 10^(3/10);       % Stdev of lognormal shadowing
end
if N_los==4 
    LAMBDA = 0.0667e9;      % Cluster Arrival Rate (1/s)
    lambda = 2.1e9;           % Ray Arrival Rate (1/s)
    GAMMA = 24e-9;            % Cluster decay factor  
    gamma = 12e-9;            % Ray decay factor  
    sigma1 = 10^(3.3941/10);  % Stdev of the cluster fading
    sigma2 = 10^(3.3941/10);  % Stdev of the ray fading
    sigmax = 10^(3/10);       % Stdev of lognormal shadowing
end
fc = 50e9;    
[h0,hf,OT,ts,X] = cp0802_IEEEuwb(fc,TMG,LAMBDA,lambda,GAMMA,gamma,sigma1,sigma2,sigmax,PT);  
h = hf;

⌨️ 快捷键说明

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