rounding the floating points

Columns 1 through 8
-3.8881 -3.8854 -3.8776 -3.8645 -3.8462 -3.8228 -3.7944 -3.7610
How can I round this floating point to the nearest integer. I have tried using ceil, nearest, round, floor and fix. are there any other command for this?

답변 (0개)

카테고리

도움말 센터File Exchange에서 Mathematics and Optimization에 대해 자세히 알아보기

제품

태그

아직 태그를 입력하지 않았습니다.

질문:

2012년 3월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by