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.

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

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

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

Contact us