代码:
% All-Pole IIR filter to Lattice structure filter a = [1, 13/24, 5/8, 1/3]; K = dir2latc(a) % To Check %[delta, n] = impseq(0, 0, 3); format long; %hdirect = filter(1, a, delta) %hlattice = latcfilt(K, delta)
运行结果:
代码:
% All-Pole IIR filter to Lattice structure filter a = [1, 13/24, 5/8, 1/3]; K = dir2latc(a) % To Check %[delta, n] = impseq(0, 0, 3); format long; %hdirect = filter(1, a, delta) %hlattice = latcfilt(K, delta)
运行结果: