Main Content
PS Ceil
Output the smallest integer larger than or equal to input physical signal
Libraries:
Simscape /
Foundation Library /
Physical Signals /
Nonlinear Operators
Description
The PS Ceil block rounds the input physical signal toward positive infinity, that is, to the nearest integer larger than or equal to the input value:
where
I | Physical signal at the input port |
O | Physical signal at the output port |
Both the input and the output are physical signals. Untyped physical ports facilitate the
signal size propagation. However, arguments passed to rounding functions (such as
ceil
) must be dimensionless. Therefore, the input signal must have the
unit of 1 (unitless), and the output signal is also unitless.