📄 dtmfdesign.m
字号:
function hh = dtmfdesign(fcent, L, fs)
%DTMFDESIGN
% hh = dtmfdesign(fcent, L, fs)
% returns a matrix where each column is the
% impulse response of a BPF, one for each frequency
% fcent = vector of center frequencies
% L = length of FIR bandpass filters
% fs = sampling freq
%
% The BPFs must be scaled so that the maximum magnitude
% of the frequency response is equal to one.
%
n=0:L-1;
hh=cos(2*pi*fcent'*n/fs)/L*2;
%==========================================
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -