How can I stabilize the matrix left division (i.e. "\")?
조회 수: 4 (최근 30일)
이전 댓글 표시
I have a problem using the matrix left division operator (i.e. " \ ").
In particular, it happens to me that if I apply the operator on the same matrix and using the same Matlab version (2023a) but using two different PC, I obtain two different results.
I think that the problent could be that I'm working with a singular matrix. However I'd like to find a way to solve the calculation obtaining the same results even if I use different PC, maybe forcing the same settings of the operator.
Can you help me?
댓글 수: 0
답변 (2개)
Matt J
2023년 11월 28일
You cannot. You must regularize the problem somehow and make the matrix non-singular.
댓글 수: 0
Bruno Luong
2023년 11월 28일
Try pinv, lsqminnorm it can stabilize somewhat the inversion with (near) singular matrix. Both bave a tolerance argument to tune the stability?
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!