roundoff
Version 1.0.0.0 (1.2 KB) by
Glenn Gomes
Rounds a number (scalar, matrix or vector) to a specified number of decimal places
Rounds a scalar, vector or matrix to a specified number of decimal places.
Syntax roundoff(number,decimal_places)
Cite As
Glenn Gomes (2026). roundoff (https://ch.mathworks.com/matlabcentral/fileexchange/1374-roundoff), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R11
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Linear Algebra >
Find more on Linear Algebra in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
