|Download Help (Windows Only)|
Owning Class: basic
Requires: MathScript RT Module
c = ceil(a)
Rounds each element of a matrix to the nearest integer towards +inf.
|a||Specifies a real or complex scalar, vector, or matrix.|
|c||Returns the rounded elements of a. If a is complex, LabVIEW rounds c using the following equation: c = ceil(real(a))+ceil(imag(a))*i. c is a scalar, vector, or matrix of the same size as a.|
The following table lists the support characteristics of this function.
|Supported in the LabVIEW Run-Time Engine||Yes|
|Supported on RT targets||Yes|
|Suitable for bounded execution times on RT||Yes|
A = [-3.7, -2.5, -1.3, 0, 1.3, 2.5, 3.7]
C = ceil(A)