Are these peaks always going to be happening at the same location each run? You can just index the array and do the averaging that way.
If you have to programatically locate these peak values it will be a bit trickier...
Are these peaks always going to be happening at the same location each run? You can just index the array and do the averaging that way.
If you have to programatically locate these peak values it will be a bit trickier...