FUNCTION REFERENCE
ceil
Round toward positive infinity.
Round toward positive infinity.
Syntax
ceil(X)Rounds each element up to an integer.
Example
ceil(2.1) % 3Differences from MATLAB: Real and complex double 2-D arrays. Complex results with zero imaginary parts are real.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.