How to find multiple means of an array
1 visualizzazione (ultimi 30 giorni)
Darrien Walters il 22 Ott 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.