<< rot90 Elementary functions shiftdim >>

round


Round to nearest integer


Syntax


C = round(A)

Input argument


A

a variable

Output argument


C

result of round.

Description


round rounds the elements to the nearest integers.

Example


round(pi)

See also


floor, fix, ceil.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< rot90 Elementary functions shiftdim >>