Ceil

Returns the ceiling function of x. If x is a complex value the function returns a complex number with the ceiling of the real part of x as the real part of the result and the ceiling of the imaginary part of x as the imaginary part of the result. It is performed element-wise if x is a vector, matrix or signal.

Syntax

ceil(x)

Types
 Variable NameValue TypeVariable Type
Arguments:xreal, complexscalar, vector, matrix, signal, xy-data
Result: vreal, complex scalar, vector, matrix, signal, xy-data
Calculator Input

Use the ceil button to complete the operation.

Example
IDDescriptionTypeValueExpression
xArgumentREAL VECTOR

[2.6,30.99]
v Result REAL VECTOR

ceil(x)