ceil {matlab}R Documentation

MATLAB ceil function

Description

Rounds to the nearest integer.

Usage

ceil(x)

Arguments

x numeric to be rounded

Details

Simply invokes base::ceiling for those more used to C library API name.

Value

Returns vector containing smallest integers not less than the corresponding elements of argument x.

Author(s)

P. Roebuck, roebuck@mdanderson.org

Examples

ceil(c(0.9, 1.3, 2.4))

[Package matlab version 0.7-7 Index]