is 'runmean' is compatible with Matlab16b? i have magnetic field data for hours. i want to get moving average of that. how can i do?

2 views (last 30 days)
my data length is like 50000. I want to get the running average. please help.

Answers (1)

dbmn
dbmn on 26 Jul 2017
runmean is a function from the file exchange. But there is a whole Group of functions available from mathworks.
You should check out movmean and the rest of the "mov" family
M = movmad(A,k)
  2 Comments
Jan
Jan on 5 Aug 2017
Edited: Jan on 5 Aug 2017
@Biswajit Ojha: Please mention the problems you observe with any details. What does "is not working" mean? It is much easier to find the reason of a problem than to guess, what the problem is.
If this answer solves your problem, please accept it.

Sign in to comment.

Categories

Find more on Entering Commands in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!