sustaining_gazes/matlab_version/face_validation/DeepLearnToolbox/util/rnd.m

3 lines
49 B
Mathematica
Raw Normal View History

2016-04-28 19:40:36 +00:00
function y = rnd(x)
y = double(x>rand());
end