How do I avoid cancellation errors due to floating point representation in my program in MATLAB?
Ältere Kommentare anzeigen
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.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Code Performance finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!