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

📄 cp0801_pathloss.m

📁 这是一本超宽带通信书籍< 超宽带无线通信>>的原代码,ds_uwb,mb_ofdm,脉冲信号的形成
💻 M
字号:
%
% FUNCTION 8.1 : "cp0801_pathloss"
%
% Attenuates the input signal 'tx' according to
% the distance 'd' [m], the decaying factor 'gamma'
% and the constant term 'c0', which represents the
% reference attenuation at 1 meter.
%
% The function returns the attenuated signal 'rx'
% and the value of the channel gain 'attn'
%
% Programmed by Guerino Giancola
%

function [rx,attn] = cp0801_pathloss(tx,c0,d,gamma)

% -------------------------------
% Step One - Path loss evaluation
% -------------------------------

attn = (c0/sqrt(d^gamma));
rx = attn .* tx;

⌨️ 快捷键说明

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