how to round the decimal values
조회 수: 1 (최근 30일)
이전 댓글 표시
how to round up the decimal values in to integers.
댓글 수: 0
채택된 답변
추가 답변 (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
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!