PS Round

Round input physical signal toward nearest integer


Physical Signals/Nonlinear Operators


The PS Round block rounds the input physical signal toward the nearest integer:

y = round( u )


uPhysical signal at the input port
yPhysical signal at the output port

Positive signals with a fractional part of 0.5 round up to the nearest positive integer. Negative signals with a fractional part of -0.5 round down to the nearest negative integer.

Both the input and the output are physical signals.


The block has one physical signal input port and one physical signal output port.

Introduced in R2012b

Was this topic helpful?