Round to Specified Digits Place

版本 1.0.0.2 (5.0 KB) 作者: Edward Zechmann
Rounds to the specified digits place and supports five different styles of rounding the last digit, real and complex numbers, and units.
1.8K 次下载
更新时间 2020/10/29

查看许可证

This program is similar to round2. It supports both real and complex numbers.

It rounds to the specified digits place and it supports five different styles of rounding the last digit. Also the last digit can be rounded to a multiple of a whole number.

This program supports units and a three digit separator character.

This program also converts the precision rounded array to a cell array of strings.

The program is especially useful for scientific publications, where rounding to a specified digits place is necessary.

引用格式

Edward Zechmann (2024). Round to Specified Digits Place (https://www.mathworks.com/matlabcentral/fileexchange/21121-round-to-specified-digits-place), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2019b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Coordinate Reference Systems 的更多信息
致谢

参考作品: round2, ROUND2

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.2

Fixed a bug with outputting the A2 when there is only one output variable.

1.0.0.1

Added options for units and a three digit separator character.

1.0.0.0