very big or small det of a matrix

조회 수: 7 (최근 30일)
Wojciech
Wojciech 2011년 12월 16일
Determinant i.e. det(x) in som cases computes very small or very big numbers. Matlab displays them as zero, but I know that thery are below 10e-300 (Im not sure is it 300 or 312?= or above 10e300. I see them as zero but If I change parameters I got e.g. 1837363e-277. Is it possible to change the range of displaying and achieve numbers smaller than 10e-300 ?

채택된 답변

Jan
Jan 2011년 12월 16일
Using:
format long g
numbers until 2.2250738585072e-308 are displayed. See realmin.
But I'd be extremly careful if a determinant has such a small value: Due to rounding errors it is hard to estimate if this value is reliable.
  댓글 수: 2
Wojciech
Wojciech 2011년 12월 16일
Thanks. In such case the value should be recognized as zero, shouldnt it?
But what about large numbers? Infinity? Regards
Jan
Jan 2011년 12월 16일
While a determinant can get very small due to cancelation errors, they cannot grow by accident. The upper limit of the value is limited by the values of the elements of the matrix.

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

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by