How to find multiple means of an array
1 view (last 30 days)
Darrien Walters on 22 Oct 2020
I have an array and I'm trying to make another array consisting of mean values of the first array.
I have some code i used to try and solve it myself using a for loop
b = 2;
for i = 1:10
d(:,i) = mean(A(b:c));
Any suggestions or changes would be much appreciarted as this code currently doesn't work.