I have a 12090x1 data. I want to convert it into a 1209x1 data. In order to do that, I want the mean of data 1:10, 11:20, 21:30 and so on. How should I do that?

1 Ansicht (letzte 30 Tage)
I have a 12090x1 data. I want the to convert it into a 1209x1 data. In order to do that, I want the mean of data 1:10, 11:20, 21:30 and so on till end. How should I do that?

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 1 Apr. 2018
mean(reshape(YourMatrix, 10, [])) .'

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by