📄 sysr84.m
字号:
% 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -