代码:
% All-Zeros FIR filter to Lattice structure filter b = [2, 13/12, 5/4, 2/3]; K = dir2latc(b) % To Check [delta, n] = impseq(0, 0, 3); format long; hdirect = filter(b, 1, delta) hlattice = latcfilt(K, delta)
运行结果:
时间: 2024-10-12 16:58:49
代码:
% All-Zeros FIR filter to Lattice structure filter b = [2, 13/12, 5/4, 2/3]; K = dir2latc(b) % To Check [delta, n] = impseq(0, 0, 3); format long; hdirect = filter(b, 1, delta) hlattice = latcfilt(K, delta)
运行结果: