How does MATLAB’s round function work with .5? Like 5.5? Does it round up to 6, or round down to 5? The Mathworks page talking about this function says nothing about this, and the example doesn’t help either!
Here is the mathworks page for the MATLAB round function:
Wikipedia knows:
There’s a little more information on this scheme (Round half away from zero), and many others, in the article on rounding.