Matlab filter electical spikes in accelerometric data

前端 未结 5 1763
北海茫月
北海茫月 2020-12-03 20:22

I have a dataset of accelerometric data that is affected by electical spikes.

I\'m looking for a good method to filter out or reduce these spikes as need to calcula

5条回答
  •  抹茶落季
    2020-12-03 21:03

    I have used the file despiking from the matlab central file exchange with very good effect for similar problems, though I see you've tried that as well.

    Another approach I've taken is to treat the spikes as statistical outliers and removed them using this function which uses Rosner's many outlier test. (NIST site is down for obvious reasons, so here is the Google cached version)

    Edited to add: I was mistaken. My despiking algorithm did not come from the file exchange function I linked to above. It was actually pulled out of a journal article (the code is listed in the supplementary information to the paper, but they didn't publish the code to the file exchange). The paper was:

    Practical Methods for Noise Removal: Applications to Spikes, Nonstationary Quasi-Periodic Noise, and Baseline Drift

    Delphine Feuerstein , Kim H. Parker and Martyn G. Boutelle

    Anal. Chem., 2009, 81 (12), pp 4987–4994

    Since the copyright is held by the American Chemical Society and the authors, I can't copy the code here, but if you have access to a university library account, you can download a copy. If you don't, I left the link to the file exchange version, but I haven't used it so I can't vouch for its efficacy.

提交回复
热议问题