Calculating inverse of non square matrix
조회 수: 1 (최근 30일)
이전 댓글 표시
I have four 1*2000 matrix like u1, u2, u3, u4 whose each dimensions is 1*2000, i want to find their inverse independently, when i use pinv() code it will find inverse but is that a correct code to find the inverse of non square matrix?
댓글 수: 0
채택된 답변
Walter Roberson
2020년 11월 25일
u1i = u1.'./ sqrt(sum(u1.^2))
could be said to be the inverse, in that u1 * u1i = 1 if I have worked things correctly and u1 is not all zero.
댓글 수: 0
추가 답변 (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!