protofilter.m
来自「信号处理」· M 代码 · 共 11 行
M
11 行
%原型滤波器设计
function Prototype=ProtoFilter(subCarrNum,gama)
D= subCarrNum*gama-1; % Order
Fc = 1/subCarrNum; % Cutoff Frequency
flag = 'noscale'; % Sampling Flag
% Create the window vector for the design algorithm.
win = hamming(D+1);
% Calculate the coefficients using the FIR1 function.
Prototype = fir1(D, Fc, 'low', win, flag);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?