sysr84.m
来自「里面囊括了基于matlab滤波器设计的各种.m文件」· M 代码 · 共 24 行
M
24 行
% y = sysr84(A,B,x)
% System input and output are x, y respectively.
% The output y is a column vector.
% The columns of A are analysis filter bank;
% and the columns of B are merging part filter bank.
function y = sysr84(A,B,x);
v0 = filter(A(:,1),1,x); v1 = filter(A(:,2),1,x);
v2 = filter(A(:,3),1,x); v3 = filter(A(:,4),1,x);
v0 = dsample(v0,8); v1 = dsample(v1,8);
v2 = dsample(v2,8); v3 = dsample(v3,8);
v0 = usample(v0,4); v1 = usample(v1,4);
v2 = usample(v2,4); v3 = usample(v3,4);
v0 = filter(B(:,1),1,v0); v1 = filter(B(:,2),1,v1);
v2 = filter(B(:,3),1,v2); v3 = filter(B(:,4),1,v3);
v0 = v0(:); v1 = v1(:); v2 = v2(:); v3 = v3(:);
y = v0 + v1 + v2 + v3;
y = y(:);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?