How do I round a number with a specific tolerance in MATLAB?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Karl
am 11 Sep. 2022
Beantwortet: Walter Roberson
am 11 Sep. 2022
Hi all, I am simply trying to set .004 as the tolerance when a number will round up for a variable. So if my variable calculates something like 2.334 or higher .001-.005, it will round to 2.34... if it calculates to 2.333 or lower .001-.002, it will round to 2.33.
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Get Started with MATLAB 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!