tmplexer.m
来自「里面囊括了基于matlab滤波器设计的各种.m文件」· M 代码 · 共 27 行
M
27 行
% X = tmplexer(Y,B,A,M)
% Performance measure of a M-channel transmultiplexer.
% The columns of X and Y are output and input. If X = Y,
% except for a delay, everything is OK. The columns of
% matrix B, A are filter bank for G and H respectively.
function X = tmplexer(Y,B,A,M)
if M ~= size(B,2)
error('M must be equal to the number of columns of B');
end
if M ~= size(A,2)
error('M must be equal to the number of columns of A');
end
for I = 1:M
l(:,I) = filter(B(:,I),1,usample(Y(:,I),M));
end
d = sum(l');
d = d(:);
for I = 1:M
X(:,I) = dsample(filter(A(:,I),1,d),M);
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?