Maximum errors between two vectors
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
the cyclist
am 3 Mär. 2022
The floating-point error of double-precision values that are of the order 1 is around 1.e-16:
eps(1)
0 Kommentare
Siehe auch
Kategorien
Mehr zu Modify Image Colors finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!