Why does this rank 1 cholupdate result in a matrix with negative eigenvalues?

2 vues (au cours des 30 derniers jours)
Kyle J
Kyle J le 30 Août 2017
I'm trying to use rank 1 cholesky updates to ensure positive-definiteness of my matrices. However, the resulting matrices has small negative eigenvalues, and I'm not sure what I can do about it. Suggestions?
Y1 = cov(series(:,1:start)');
tmp = chol(Y1);
count=0;
for t = start+1:size(series,2)
count = count+1;
tmp = cholupdate(tmp,series(:,t));
Y(:,:,count) = tmp'*tmp;
end

Réponses (0)

Catégories

En savoir plus sur Linear Algebra dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by