roundoff

Rounds a number (scalar, matrix or vector) to a specified number of decimal places

You are now following this Submission

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://www.mathworks.com/matlabcentral/fileexchange/1374-roundoff), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Linear Algebra in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0