필터 지우기
필터 지우기

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 (최근 30일)
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?

채택된 답변

Walter Roberson
Walter Roberson 2018년 4월 1일
mean(reshape(YourMatrix, 10, [])) .'

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Type Conversion에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by