rc2poly.m
来自「有关matlab的电子书籍有一定的帮助希望有用」· M 代码 · 共 19 行
M
19 行
function a = rc2poly( k )
%RC2POLY Compute polynomial coefficients from reflection coefficients.
% A = RC2POLY(K) finds the filter coefficients A, with A(1) == 1,
% from the real reflection coefficients K of the lattice structure
% of a discrete filter.
% A is a row vector of length one more than K.
%
% See also POLY2RC.
% Author(s): T. Krauss, 9-20-93
% Copyright (c) 1988-98 by The MathWorks, Inc.
% $Revision: 1.9 $ $Date: 1997/11/26 20:13:22 $
a = k(1);
for i = 2:length(k)
a = [ a+conj(a(i-1:-1:1))*k(i) k(i) ];
end
a = [1 a];
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?