How do I avoid cancellation errors due to floating point representation in my program in MATLAB?
Show older comments
I have written code wherein I lose significant digits in variables when I perform subtraction operations. I want to be able to perform these operations keeping high precision in the variables, so that I can avoid the cancellation error.
Accepted Answer
More Answers (0)
Categories
Find more on Code Performance 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!