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

📄 cp0801_pamcorrmask.m

📁 此文件收集了《超宽带无线电基础》一书中的所有关于UWB的matlab代码。是进行UWB仿真开发的好工具。
💻 M
字号:
%
% FUNCTION 8.6 : "cp0801_PAMcorrmask"
%
% Evaluates the correlation mask ('mask') for
% receiving 2PAM UWB signals.
% 'ref' is the reference signal (with no modulation)
% which is produced by the 2PAM+DS transmitter
% 'fc' is the sampling frequency
% 'numpulses' is the number of transmitted pulses
%
% Programmed by Guerino Giancola
%

function [mask] = cp0801_PAMcorrmask(ref,fc,numpulses)

% ---------------------------------------------
% Step One - Evaluation of the correlation mask
% ---------------------------------------------

dt = 1 / fc;

% Energy normalization
Epulse = (sum((ref.^2).*dt))/numpulses;
ref = ref./sqrt(Epulse);

% Mask construction
mask = ref;

⌨️ 快捷键说明

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