i have a vector of 3366 elements. Basically i have a nan value every 66 elements. I want to create a new vector that cointains the integration (trapz) of the first 66 elements as the first value, than the integral from the 68 to the 134 as the second value and so on. How can this be achivied ? Could anyone please help me ?