Why does this rank 1 cholupdate result in a matrix with negative eigenvalues?
2 ビュー (過去 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 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!