ceil

Round up

Syntax

  • C = ceil(A)

Input argument

  • A - a variable

Output argument

  • C - result of ceil.

Description

ceil returns an integer or complex matrix made of rounded up elements.

Example

ceil(pi)

See also

floor, fix, round.

History

Author

Allan CORNET

Last updated