how to round the decimal values
Afficher commentaires plus anciens
how to round up the decimal values in to integers.
Réponse acceptée
Plus de réponses (1)
Roger Stafford
le 18 Sep 2013
If I understand what you mean by "round up" to integers, you need the 'ceil' function:
ceil(3.01) --> 4
1 commentaire
mahesh chathuranga
le 18 Sep 2013
Catégories
En savoir plus sur Elementary Math dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!