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

📄 iir2cfb.m

📁 里面囊括了基于matlab滤波器设计的各种.m文件
💻 M
字号:
 
% FIROFB --- Orthogonal Maximally decimation FIR Filter Bank
%             computation(1D)
% y = firofb(x,A,M)
% x, y are input and output respectively. A is N-by-M matrix,
% whose columns are synthesis filte bank, their time-reverse 
% are analysis filter bank. M is the channel numbers, decimation
% and interpolation factor.
% Compare output with input, we may know if the system is PR.
%

% function y = (x,A,M)
% iir2cfb


l = filter(n0,d0,x);
l = dsample(l,2);
l = usample(l,2);
l = filter(gn0,gd0,l);
l = l(:)';
f(1,:) = l;

l = filter(n1,d1,x);
l = dsample(l,2);
l = usample(l,2);
l = filter(gn1,gd1,l);
l = l(:)';
f(2,:) = l;

y = sum(f);
stem(y(1:45),'g');hold on;dplot(x(1:45),'r')

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -