how to round the decimal values
Ältere Kommentare anzeigen
how to round up the decimal values in to integers.
Akzeptierte Antwort
Weitere Antworten (1)
Roger Stafford
am 18 Sep. 2013
If I understand what you mean by "round up" to integers, you need the 'ceil' function:
ceil(3.01) --> 4
1 Kommentar
mahesh chathuranga
am 18 Sep. 2013
Kategorien
Mehr zu Elementary Math finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!