I have a ListAnimate plot and I want to track the position of the peak as it moves.
Is there any way to do this which takes into account the fact that the peak of the wave moves past the window of the plot on the right hand side.
ListAnimate[Table[ListLinePlot[Table[Sin[2*Pi*i/100 - j], {i, 0, 100}]], {j,0,10}]]
Any help is greatly appreciated!
Edit:
The value for distance traveled should keep counting and not reset each time it passes the point it began.
Is there any way to do this which takes into account the fact that the peak of the wave moves past the window of the plot on the right hand side.