roundn
- :
y =roundn(x, n)¶ Round each element of x to the nearest multiple of
10^n. n must be a real scalar integer. Ties round away from zero, matching Mapping Toolboxroundn/ coreround.
roundny = roundn (x, n) ¶Round each element of x to the nearest multiple of 10^n.
n must be a real scalar integer. Ties round away from zero,
matching Mapping Toolbox roundn / core round.