📄 protofilter.m
字号:
%原型滤波器设计
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -