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?

1 回表示 (過去 30 日間)
Biswajit Ojha
Biswajit Ojha 2017 年 7 月 26 日
編集済み: Jan 2017 年 8 月 5 日
my data length is like 50000. I want to get the running average. please help.

回答 (1 件)

dbmn
dbmn 2017 年 7 月 26 日
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 件のコメント
Biswajit Ojha
Biswajit Ojha 2017 年 8 月 5 日
thamk you. its working perfectly. but why not "runmean" is working?
Jan
Jan 2017 年 8 月 5 日
編集済み: Jan 2017 年 8 月 5 日
@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.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeAutomated Driving Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by