- Clearly the approximate and exact solutions aren't actually identical. That's not surprising; otherwise they would both be "exact solutions",
- That both machines use Win10 doesn't prevent them from using different processors and while you say one used R2020a, you didn't say which MATLAB release the other used. It's possible there could be an internals difference there; Mathworks routinely makes upgrades/enhancements between releases or even in patches between releases. It's also possible there may be some initial conditions between how the code is run that is different between the two cases; we have no way to know any such details.
Non zero errors obtained when zero error is expected
2 views (last 30 days)
Show older comments
The below shown graph represents errors (between an exact solution and an approxmimate solution) for different number of nodes (ranging from 5 to 100). The error values are expected to be zero (as exact and apprximate solutions are equal) but a considerably smaller value is obtained which is closer to machine precision (eps) but not equal to it.
The same graph is generated from a different machine which is installed with matlab R2020a. It also didn't give zero error but a considerably smaller value is obtained which is closer to machine precision (eps) but not equal to it and was different from ones generated with first machine. (Both machines uses windows 10 as operating system).
- What could be the possible reason for non zero errors?
- Why are different machines giving different values of errors?
Thanks in advance,
Sree Raj V
3 Comments
Walter Roberson
on 25 Feb 2021
If one has an AMD CPU then it will calculate differently than an Intel CPU.
Answers (0)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!