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        Round toward infinity

fix         Round towards zero

floor       Round towards minus infinity



[ Previous | Help Desk | Next ]