How can i average a 1-D array every n elements?
이전 댓글 표시
I have a 1-D array of N elements, and i want to average them every k elements, but i want the output to still have the N size. Also N may or may not be an integer multiple of k. How can i do that?
답변 (1개)
infinity
2019년 7월 7일
0 개 추천
Hello,
I think this function is exactly what you want
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!