MATLAB Function Reference
  Go to function:
    Search    Help Desk 
round    Examples   See Also

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 | Help Desk | Next ]