How to round the decimal?
古いコメントを表示
Dear All;
I have a number array x = [0.00135678 0.00076243;0.0000045789 0.01234567];
Then i just want to round x to become as: results:[0.0013 0.00076; 0.0000045 0.012];
What to do?
Thanks in advance.....
採用された回答
その他の回答 (1 件)
Steven Beumer
2018 年 6 月 27 日
編集済み: Stephen23
2018 年 6 月 27 日
1 投票
You might want to check out this function for that:
カテゴリ
ヘルプ センター および File Exchange で Multidimensional Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!