title: How to calculate an average cycle data in MATLAB
body: <p>I have some raw periodic data of an experiment over <strong>many cycles</strong>. In my analyzing I need only one cycle, but want to use the whole data array in order to gain accuracy. So I need to get MATLAB calculate not the absolute average (which is easy, using mean(data)) but the average value for each time (relative to the period, which I also don't know).</p>
  
  <p>Any advice on how to do this? Thanks a lot!</p>