round to nearest integer
y=round(x)
real or complex matrix
integer or complex (with integer real and imag) matrix
round(x) rounds the elements of x to the nearest integers.
round(x)
x
round([1.3 1.5 1.7 2.5 3.7]) // Notice the result for x negative round([-1.3 -1.5 -1.7 -2.5 -3.7])