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

📄 createpulsefilter.m

📁 这是一个关于完成QAM调制的Matlab示例程序
💻 M
字号:
function [pulseFilt,delay] = CreatePulseFilter(fs,fd)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% This is a utility function that creates the pulse shaping filter.
% The filter is assumed to have a group delay of 3 symbol periods,
% it's region of support is therefore 6 symbol periods, symmetrical
% about it's center.  The rolloff factor, beta, is assumed to be 0.5.
%
% fs = sampling frequency
% fd = symbol frequency
% pulseFilt = fir coefficients
% delay = group delay given in number of symbol periods
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

delay = 3;
r = 0.5;

pulseFilt = rcosine(fd,fs, 'fir/sqrt',r,delay);
pulseFilt = pulseFilt/(sqrt(pulseFilt*pulseFilt'));

return

⌨️ 快捷键说明

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