I would like to determine several target positions in the Z direction (height) for N=30. Possible values are 20,40,60,80,100,120,140 in the Z direction, i.e. a total of 7 positions. 10 different spatial positions with these numbers are to be determined with replacement (so there are a total of 70 possible positions). It should be drawn again if the same value is drawn twice in a row. For each N I need 40 target positions (10 per condition).
The target positions are to be saved in a text file with 40 columns and 30 lines (all values separated by commas).
I thank you for every suggestion!