Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
7 lines (7 sloc) 111 Bytes
hits = 0;
hit_rand = rand;
for a = 1:length(BER)
if hit_rand < BER(a)
hits = hits + 1;
end
end