You may have to write it yourself if you want to support duplicate timepoints. The clearly states that the SamplePoints must be unique and sorted.
Also, movmean was introduced in R2016a, not 2017.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!