Ceiling('Expression')

Description

This function returns the smallest integer value that is greater than or equal to 'Expression’.

Example

Rounding up values of a signal waveform to whole numbers.

Task description

From a real signal waveform, the measured value should be rounded up to the nearest integer value for each sample.

Solution

In the figure below the blue curve shows the original signal and the red curve shows the signal trend with rounded-up values.