统计自适应信号处理的matlab程序

源代码在线查看: stepup.m

软件大小: 36 K
上传用户: Even_Moon
关键词: matlab 信号处理 程序
下载地址: 免注册下载 普通下载 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;			

相关资源