Hi! Is there a built in method to force the singular vectors(left or right)resulting from svd function to be in the positive orthant

 채택된 답변

John D'Errico
John D'Errico 2016년 2월 11일

0 개 추천

Sorry, but this is completely, absolutely impossible.
The singular vectors are orthogonal to each other. Suppose that you actually have ONE vector in the desired orthant, with all positive elements?
The second vector CANNOT be orthogonal to the first if is it also entirely positive.
You cannot have what is mathematically impossible.
At most, you might have ONE vector with that property. The SVD has no option, no ability to control where even one vector lies, since the vectors are completely based on the matrix itself (unless you have repeated singular values.) There is no such thing as a constrained SVD.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

질문:

2016년 2월 11일

답변:

2016년 2월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by