Multiplying by a random number



In this MATLAB command:

tr = unit8(r.*double(not(t));

Provided that (r) is:

r = rand(256)*128+127;

What is the purpose of multiplying by (r)?

Thanks.
.