Recreation of Hampel Method using "medfilt1" function
古いコメントを表示
Please see the attached filles and run hampelTest.m
I am trying to reproduce the results of running hampel(yv,3) using medfilt1 and the MAD calculation. The value of the median from hampel [shown as xm] is identical to medfilt1(yv,7). This is confirmed in medTest. The value of the std deviation (MAD), shown as xs, is different than medfilt1(abs(yv-medfilt1(yv,7),7). This is confirmed as stdTest.
Please inform me as to how to reproduce xs from hampel using medfilt1.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Digital Filtering についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!