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

📄 latcfilt.m

📁 the file contain many matlab signal source code and many example .
💻 M
字号:
function [y]=latcfilt(K,x)
% LATTICE form realization of FIR filters
% ----------------------
% y=latcfilt(K,x)
% y=output sequence
% K=LATTECE filter(reflection)coefficients array
% x=input sequence
%
Nx=length(x)-1;
x=K(1)*x;
M=length(K)-1;K=K(2:M+1);
fg=[x;[0 x(1:Nx)]];
for m=1:M
    fg=[1,K(m);K(m),1]*fg;
    fg(2,:)=[0 fg(2,1:Nx)];
end
y=fg(1,:);

⌨️ 快捷键说明

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