I was wondering if anybody could solve this simple roulette indexing/random number question i've been struggling with for a long time. In the for loop I need to create a variable Bet that is a random number that is between 2-12% of each value in row 1 of RoulettePlayers. I commented where I need to include this. Any help is appreciated I've been trying to figure this out for hours.
RouletteRounds = 10
RoulettePlayers = zeros(RouletteRounds+1,RouletteRounds);
initial_intt = randi([5000,25000],1,10);
RoulettePlayers(1,:) = initial_int
BetType = zeros(3,10);
for l = 1:RouletteRounds
Bet = randi(1,RoulettePlayers)