Home > lib > round_random.m

round_random

PURPOSE ^

function x = round_random(x)

SYNOPSIS ^

function x = round_random(x)

DESCRIPTION ^

 function x = round_random(x)

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

 This functions works only with unidimensional vectors

 20090501: I switched this to work exactly like round() so identical
 datasets will give identical results in the classification methods
 (whenever possible)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 18-Feb-2010 12:47:47 by m2html © 2003