MATLAB Function Reference    
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


  rotate3d rref