Maximum errors between two vectors
조회 수: 12 (최근 30일)
이전 댓글 표시
Hello,
I am calculating the max(abs(X-Y)) where X is the true solution and Y is the calculated solution in some method, and obtaining the maximum difference 3.3307e-16, which is unrealistic to me. I expected up to 10^(-4) to 10^(-12). Is the obtained answer look like smaller than machine epsilon? Can any one expalin me? Thanks in advance.
댓글 수: 0
답변 (1개)
the cyclist
2022년 3월 3일
The floating-point error of double-precision values that are of the order 1 is around 1.e-16:
eps(1)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!