ceil
Round up the elements of an array of real numbers.
y=ceil(x)
Inputs
x An array of real numbers.
Outputs
y An array of real numbers whose size is the same as the size of x .


Description
Each element of the output array is the smallest integer larger than or equal to the corresponding element of the input array.


Example
>>a=randn(2,3)*10
>>a
   10.2356   -3.5147    4.1086
   -5.6767   -6.7743    3.6380

>>ceil(a)
         11         -3          5
         -5         -6          4