rounding the floating points

2 ビュー (過去 30 日間)
Kugen Raj
Kugen Raj 2012 年 3 月 17 日
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?
  1 件のコメント
John D'Errico
John D'Errico 2012 年 3 月 17 日
Why did round not work for you?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

タグ

タグが未入力です。

製品

Community Treasure Hunt

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

Start Hunting!

Translated by