⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sysr48.m

📁 里面囊括了基于matlab滤波器设计的各种.m文件
💻 M
字号:
 
% y = sysr48(A,B,x)
% System input and output are x, y respectively.
% The output y is a column vector. 
% The columns of A are first-part filter bank;
% and the columns of B are second-part filter bank.

function y = sysr48(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,4);v1 = dsample(v1,4);
v2 = dsample(v2,4);v3 = dsample(v3,4);

v0 = usample(v0,8);v1 = usample(v1,8);
v2 = usample(v2,8);v3 = usample(v3,8);

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 + -