how to round the decimal values

 채택된 답변

Andrei Bobrov
Andrei Bobrov 2013년 9월 18일

0 개 추천

Please read about round and about int8 and other

추가 답변 (1개)

Roger Stafford
Roger Stafford 2013년 9월 18일

1 개 추천

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!

Translated by