Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

PS Round

Round input physical signal toward nearest integer

Library

Physical Signals/Nonlinear Operators

Description

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

y = round( u )

where

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.

Ports

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

Introduced in R2012b

Was this topic helpful?