MATLAB Function Reference Previous page   Next Page
round

Round to nearest integer

Syntax

Description

Y = round(X) rounds the elements of X to the nearest integers. For complex X, the imaginary and real parts are rounded independently.

Examples

See Also

ceil, fix, floor


Previous page  rotate3d rref Next page

© 1994-2005 The MathWorks, Inc.