필터 지우기
필터 지우기

Calculators and excel have different answer to matlab for inverse of a matrix

조회 수: 1 (최근 30일)
Atreyu91
Atreyu91 2015년 9월 20일
댓글: Walter Roberson 2015년 9월 20일
I have a code which calculates a 10x10 matrix for every value of k. When I perform an inverse of the matrix, I can get an answer. However when I use Excel, TI-NSPIRE calculators and online calculators they give me a different answer than what is produced in matlab.
Also as k increases eventually the matrix becomes singular according to matlab, however Excel, TI-NSPIRE calculators and online calculators can manage to calculate the answer.
Can anyone explain why matlab is different to everything else?
I have tried using
pinv()
but the answer is still not correct
  댓글 수: 3
the cyclist
the cyclist 2015년 9월 20일
Fully acknowledging that I may be biased ...
Out of all the sources of matrix calculation you have mentioned, I would trust MATLAB the most.
I agree with Image Analyst, attaching an example where you see differences is key to us all understanding this.
Walter Roberson
Walter Roberson 2015년 9월 20일
When I try a 5 x 5 in MATLAB I get the same result as in Maple, to within round-off error.
What is rcond() of your matrices?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by