Filtering Data
이전 댓글 표시
Hello,
I am trying to compute an average and variance of a large data set (~330000 rows x 3 different columns), but I'd like to take the average and var. of every 240 entries. I think you'd call this a moving average/variance, but I'm not sure.
Can you please provide hints as to accomplish this? I'm thinking either a for-loop or using the 'filter' function, but am not sure how to approach this problem...
Thanks in advance,
Nic
댓글 수: 2
ndb
2011년 4월 27일
Andrew Newell
2011년 4월 27일
By "entries" do you mean rows or total number of variables?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Statistics and Linear Algebra에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!