# ceil

Version:

Rounds the input elements to the nearest integer towards +inf.

## Syntax

c = ceil(a)

## a

Numeric scalar or numeric array of any dimension.

## c

Rounded elements of a. c is an array of the same size as a.

## Complex Inputs

If a is complex, MathNode rounds c with the following equation: c = ceil(real(a))+ceil(imag(a))*i.

A = [-3.7, -2.5, -1.3, 0, 1.3, 2.5, 3.7]
C = ceil(A)

Where This Node Can Run:

Desktop OS: Windows

FPGA: This product does not support FPGA devices