IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
round_random.m File Reference

Detailed Description

Now works as regular round()

20090501: I switched this to work exactly like round() so identical numbers will give identical results

This function used to round randomly either to the floor or ceiling in case an element of x is exactly zzz.5

Definition in file round_random.m.

Go to the source code of this file.

Functions

function round_random (in x)
 

Function Documentation

function round_random ( in  x)
Parameters
x
Returns
rounded x