📄 latcf2df.m
字号:
function [a] = latcf2df(K)
% All-Zero Lattice form to FIR Direct form Conversion
% ---------------------------------------------------
% [a] = latcf2df(K)
% a = FIR direct form coefficients (impulse response)
% K = Lattice filter coefficients (reflection coefficients)
%
%-----------------------------------------------------------
% Copyright 2000, by Dimitris G. Manolakis, Vinay K. Ingle,
% and Stephen M. Kogon. For use with the book
% "Statistical and Adaptive Signal Processing"
% McGraw-Hill Higher Education.
%-----------------------------------------------------------
M = length(K);
J = 1; A = 1;
for m = 2:1:M
A = [A,0]+conv([0,K(m)],J);
J = fliplr(A);
end
a = A*K(1);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -