knowledge-database (beta)

Current group: comp.soft-sys.matlab

Getting rid of peaks

Getting rid of peaks  
Maciej Bak
 Re: Getting rid of peaks  
Bjorn Gustavsson
From:Maciej Bak
Subject:Getting rid of peaks
Date:Mon, 24 Jan 2005 04:24:44 -0500
Hallo,

I have obtained some measurements data, but one of the signals have
realy big peaks (don't know why).
How can I get rid of them?? Using a filter or maby there is a simper
tool for such an applications.
If filter - which is the best for peaks?
I am fresh with Matlab, so please help.

P.S
It is not a homework!! ;)
From:Bjorn Gustavsson
Subject:Re: Getting rid of peaks
Date:Mon, 24 Jan 2005 04:32:55 -0500
Maciej Bak wrote:
>
>
> Hallo,
>
> I have obtained some measurements data, but one of the signals have
> realy big peaks (don't know why).
> How can I get rid of them?? Using a filter or maby there is a
> simper
> tool for such an applications.
> If filter - which is the best for peaks?
> I am fresh with Matlab, so please help.
>
Well if you are this new to matlab I suggest that you work your way
through all demos you have available. Just type demo at the prompt
and click away. In my (not humble enough) opinion this is the best
way to get a good overview of how to do things well in matlab.

For your acse you could use medfilt1/medfilt2 to remove the spikes.
Play around with blocksizes and cascading.

HTH,
Bjorn
   

Copyright © 2006 knowledge-database   -   All rights reserved