Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
8 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