how to round the decimal values
Mostrar comentarios más antiguos
how to round up the decimal values in to integers.
Respuesta aceptada
Más respuestas (1)
Roger Stafford
el 18 de Sept. de 2013
If I understand what you mean by "round up" to integers, you need the 'ceil' function:
ceil(3.01) --> 4
1 comentario
mahesh chathuranga
el 18 de Sept. de 2013
Categorías
Más información sobre Elementary Math en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!