How do I round a number with a specific tolerance in MATLAB?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Karl
el 11 de Sept. de 2022
Respondida: Walter Roberson
el 11 de Sept. de 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 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Get Started with MATLAB en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!