@Michael_Jr wrote: @Doug: yes, that would indeed be a good solution, I just have no idea how I can analyse only the desired subset (at the time where the peak/change in postition occurs...)
Michael, how would you do it by hand? How would you automate that in a program? We are dropping specific (code snippet to replace array values less than threshold) and general (like term 'array subset') hints. Your strategy at this point should be to logically lay out the steps needed to complete your task, write that pseudo code, then code it in your language(s) of choice. If, after reviewing examples, help, tutorials, and forums, you are stuck again, please create a new post, and we will do our best to help.