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

3 lines
49 B
Matlab

function y = rnd(x)
y = double(x>rand());
end