Can you compute an ensemble average from the iterations in a loop?

I have a for loop that plots a moment/angle curve for a series of data sets, but instead of plotting the individual curves on one graph I would like to get the ensemble average curve of all the data sets.

Answers (1)

You can refer to the following for starters:
https://www.mathworks.com/matlabcentral/answers/85569-average-curve-for-a-set-of-curves

Asked:

on 17 Aug 2017

Answered:

on 21 Aug 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!