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

Round toward infinity

Syntax

Description

B = ceil(A) rounds the elements of A to the nearest integers greater than or equal to A. For complex A, the imaginary and real parts are rounded independently.

Examples

See Also

fix         Round toward zero

floor       Round toward minus infinity

round       Round to nearest integer



[ Previous | Help Desk | Next ]