how to round the decimal values

조회 수: 1 (최근 30일)
mahesh chathuranga
mahesh chathuranga 2013년 9월 18일
how to round up the decimal values in to integers.

채택된 답변

Andrei Bobrov
Andrei Bobrov 2013년 9월 18일
Please read about round and about int8 and other

추가 답변 (1개)

Roger Stafford
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

카테고리

Help CenterFile Exchange에서 Correlation and Convolution에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by