So, it have a table with 5 x 360,000 entries.
It is basically fatigue data with an intialising phase. So starting from a specific Index I already have, and the mean value I want to sort every periode of this function (which looks like a sin function) into a structure.
Sarkari Result Pnr Status Showbox
The structure should have cells for each load cycle containing time and falue of the periode (first two rows of the table). And also since it is some empiric data some linear interpolation between the last value of a cycle and the first value of the following.
Any ideas, help, or code would be much appreciated.