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.

% LD2LT: Conversion from LDL' to LL'
%        [lt]=ld2lt(ld)
%        ld : LDL' factorization matrix
%        lt : LL'  factorization matrix
% GvW 11-1-2012
function [lt]=ld2lt(ld)

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

for i=1:n
  si=sqrt(ld(i,i)); lt(i:n,i)=si*[1;ld(i+1:n,i)];

Contact us