moving mean over 5 cells
3 views (last 30 days)
Show older comments
I have a dataset where im trying to find the mean of every 5 cells and then divide this by 5
I have the code below, but I have done this in excel and the results are not matching.
f = (movmean(E,5,'Endpoints','discard')/5);
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/903105/image.png)
0 Comments
See Also
Categories
Find more on Tables in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!