dtmfdesign.m
来自「很多matlab的源代码」· M 代码 · 共 17 行
M
17 行
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 + =
减小字号Ctrl + -
显示快捷键?