필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Least squared matrix error

조회 수: 1 (최근 30일)
Cesar Cardenas
Cesar Cardenas 2022년 8월 28일
마감: John D'Errico 2022년 8월 28일
is this a right approach to calculate the least squared error x* to this problem? this is what I'm getting:
Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 6.291272e-19.
> In P2 (line 7)
x =
0.5510
0.0408
Any help will be greatly appreciated
A = [1 2; 3 4; 5 6; 7 8; 9 0]
b = [1; 2; 3; 4; 5]
A'*inv(A*A');
x = lsqr(A,b)

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by