adapteq_buildfilter.m

来自「利用matlab软件对各种频率选择性信道进行仿真」· M 代码 · 共 15 行

M
15
字号
function f = adapteq_buildfilter(h, P, Q);
%ADAPTEQ_BUILDFILTER  Construct pulse shaping filter (structure).
%   F = ADAPTEQ_BUILDFILTER(H, P, Q) returns a structure conatining pulse
%   shaping filter information.  H is a vector containing filter
%   coefficients, P is the upsample factor at the input (used for transmit
%   filters) and Q is the downsample factor at the output (used for receive
%   filters).

%   Copyright 1996-2004 The MathWorks, Inc.
%   $Revision: 1.1.4.1 $  $Date: 2004/04/20 23:15:02 $

f.Coeff = h;
f.UpsampleFactor = P;
f.DownsampleFactor = Q;
f.State = zeros(1, (length(h)-1)/P);

⌨️ 快捷键说明

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