Round to Specified Digits Place
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.
Cite As
Edward Zechmann (2024). Round to Specified Digits Place (https://www.mathworks.com/matlabcentral/fileexchange/21121-round-to-specified-digits-place), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Mathematics and Optimization > Mapping Toolbox > Coordinate Reference Systems >
- Radar > Mapping Toolbox > Coordinate Reference Systems >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.