I am having trouble thinking of a code that could do a certain task.
I have 101 lists of numbers (100 distance which range in values from 10 to ~100 and 1 time. All have the same number of elements) that give the distance of an object over time. I need code that can take these 100 lists and find the percentage of them that have 1 minimum, 2 minima, 3 minima etc. below a certain value (in this case 30.)
If anyone could help it would be greatly appreciated.
Edit: Apologies for the lack of clarification. I should have made it clear that I already have the 100 sets of distance data in the form of lists, I don't need to generate them. Here is an image I hope clarifies my situation a bit.
This displays 10 of the 100 distance sets over the time. As you can see they have various numbers of minima. I am trying to write a code that can give the number of tables that have 1 or 2 or 3 etc. minima below the value of 30, so for the above example it would be something like 5 for 1 minimum, 2 for 2, 1 for 3 and 2 for 4. Also, the code would preferably have to work for an arbitrary number of lists, not just 100. Let me know if any additional information is needed.