Code covered by the BSD License  

Highlights from
UD Factorization & Kalman Filtering

UD Factorization & Kalman Filtering



15 Aug 2011 (Updated )

UD and LD factorization of nonnegative matrices and associated Kalman filter implementations.

% UD2UT: Conversion from UDU' to UU'
%        [ut]=ud2ut(ud)
%        ud : UDU' factorization matrix
%        ut : UU'  factorization matrix
% GvW 11-1-2012
function [ut]=ud2ut(ud)

if n~=m; error('  ud must be square'); end

for i=1:n
  si=sqrt(ud(i,i)); ut(1:i,i)=si*[ud(1:i-1,i);1];

Contact us