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, floor, round



[ Previous | Help Desk | Next ]