For [1 2 3 ……..35], I want to generate random number but the restriction is i want random numbers from [1 2 3…28] as [1 5 9 13 17 21 25] and then after any random number from [29 30 …35] as normal.
MATLAB: How to generate the random number with restrictions
number generationrandrandom number generation
Best Answer