roundoff

Rounds a number (scalar, matrix or vector) to a specified number of decimal places
5.4K Downloads
Updated 20 Feb 2002

View License

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 Linux
Categories
Find more on Linear Algebra in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0