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

2 ビュー (過去 30 日間)
Kyle J
Kyle J 2017 年 8 月 30 日
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

回答 (0 件)

カテゴリ

Help Center および File ExchangeLinear Algebra についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by