The data files included are .MAT or *.dat (ASCII)files. The m-files and the data may be distributed

源代码在线查看: stepup.m

软件大小: 64 K
上传用户: maizhongyun
关键词: files data distributed The
下载地址: 免注册下载 普通下载 VIP

相关代码

				function [a,PM] = stepup(k,P0)
				% Lattice form to Direct form Conversion
				% --------------------------------------
				% [a,PM] = stepup(k,P0)
				%  a = direct form coefficients (impulse response)
				% PM = Final error variance
				%  k = Lattice filter coefficients (reflection coefficients)
				% P0 = Initial error variance
				%
				%-----------------------------------------------------------
				% 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.
				%-----------------------------------------------------------
				
				
				% Initialization
				P = P0;
				a = [];
				% Recursion;
				M = length(k);
				for m = 1:M
				   a = [a;0] + [flipud(conj(a));1]*k(m);
				   P = P*(1-k(m)*conj(k(m)));
				end
				PM = P;			

相关资源