how to round the decimal values
이전 댓글 표시
how to round up the decimal values in to integers.
채택된 답변
추가 답변 (1개)
Roger Stafford
2013년 9월 18일
If I understand what you mean by "round up" to integers, you need the 'ceil' function:
ceil(3.01) --> 4
카테고리
도움말 센터 및 File Exchange에서 Elementary Math에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!