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 Name | Value Type | Variable Type | ||
---|---|---|---|---|
Arguments: | x | real, complex | scalar, vector, matrix, signal, xy-data | |
Result: | v | real, complex | scalar, vector, matrix, signal, xy-data |
Calculator Input
Use the
button to complete the operation.Example
ID | Description | Type | Value | Expression | |
---|---|---|---|---|---|
x | Argument | REAL VECTOR |
| [2.6,30.99] | |
v | Result | REAL VECTOR |
| ceil(x) |