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