latcfilt.m

来自「有关matlab的电子书籍有一定的帮助希望有用」· M 代码 · 共 33 行

M
33
字号
function [f,g] = latcfilt(k,v,x)
%LATCFILT Lattice and lattice-ladder filter implementation.
%   [F,G] = LATCFILT(K,X) filters X with the FIR lattice coefficients
%   in vector K.  F is the forward lattice filter result, and G is the
%   backward filter result.
%
%   If K and X are vectors, the result is a (signal) vector.
%   Matrix arguments are permitted under the following rules:
%   - If X is a matrix and K is a vector, each column of X is processed
%     through the lattice filter specified by K.
%   - If X is a vector and K is a matrix, each column of K is used to
%     filter X, and a signal matrix is returned.
%   - If X and K are both matrices with the same # of columns, then the
%     i-th column of K is used to filter the i-th column of X.  A
%     signal matrix is returned.
%
%   [F,G] = LATCFILT(K,V,X) filters X with the IIR lattice
%   coefficients K and ladder coefficients V.  K and V must be
%   vectors, while X may be a signal matrix.
%
%   [F,G] = LATCFILT(K,1,X) filters X with the IIR all-pole lattice
%   specified by K.  K and X may be vectors or matrices according to
%   the rules given for the FIR lattice.
%
%   See also FILTER, TF2LATC, LATC2TF.

% Author(s): Don Orofino, May 1996
%   Copyright (c) 1988-98 by The MathWorks, Inc.
%       $Revision: 1.5 $
% $Revision: 1.5 $ $Date: 1997/12/02 18:37:00 $

error('MEX file not found.');

⌨️ 快捷键说明

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