Moving mean for a vector

1 view (last 30 days)
Elena Airoldi
Elena Airoldi on 1 Jan 2018
Answered: BhaTTa on 22 Oct 2024
Dear all, I would like to apply the "moving mean" function to a row vector: data.e(:,1) I did in this way:
ee=data.e(:,1)
data.eee=movmean(ee,3)
Matlab tells me that is wrong: Undefined function 'movmean' for input arguments of type 'double'.
what does "type double" means?
Thanks a lot!

Answers (1)

BhaTTa
BhaTTa on 22 Oct 2024

Community Treasure Hunt

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

Start Hunting!