ceil

ceil — rounding up

Calling sequence

[y]=ceil(x)  

Parameters

x : a real matrix
y : integer matrix

Description

ceil(x) returns an integer matrix made of rounded up elements

Examples



ceil([1.9 -2.5])-[2,-2]
ceil(-%inf)
x=rand()*10^20;ceil(x)-x
 
  

See also

round, floor, int