Thread Subject: Eliminate Signal crests

Subject: Eliminate Signal crests

From: Giacomo

Date: 30 Jul, 2009 11:40:04

Message: 1 of 4

My input is a bit noisy, I wish to transform it in a more smooth one to avoid some errors. In the pict in blue is current signal, in red what it should be. How can I realize it?

http://i27.tinypic.com/2nk89w4.jpg

Subject: Eliminate Signal crests

From: Thomas

Date: 30 Jul, 2009 12:03:01

Message: 2 of 4

"Giacomo " <bigbig1982@hotmail.com> wrote in message <h4s0qk$3tj$1@fred.mathworks.com>...
> My input is a bit noisy, I wish to transform it in a more smooth one to avoid some errors. In the pict in blue is current signal, in red what it should be. How can I realize it?
>
> http://i27.tinypic.com/2nk89w4.jpg

Use smoothing and filtering methods like moving average, kernel smoothing, wavelet scaling approximation, just to name a few examples. Also if you look for low-pass filters and smoothing methods there are some already implemented into MATLAB.

Regards

Thomas

Subject: Eliminate Signal crests

From: Giacomo

Date: 30 Jul, 2009 18:03:03

Message: 3 of 4

"Thomas " <meinl@iism.uni-karlsruhe.de> wrote in message <h4s25l$sui$1@fred.mathworks.com>...
> "Giacomo " <bigbig1982@hotmail.com> wrote in message <h4s0qk$3tj$1@fred.mathworks.com>...
> > My input is a bit noisy, I wish to transform it in a more smooth one to avoid some errors. In the pict in blue is current signal, in red what it should be. How can I realize it?
> >
> > http://i27.tinypic.com/2nk89w4.jpg
>
> Use smoothing and filtering methods like moving average, kernel smoothing, wavelet scaling approximation, just to name a few examples. Also if you look for low-pass filters and smoothing methods there are some already implemented into MATLAB.
>
> Regards
>
> Thomas

Thx for the reply Thomas, will it work even for real time plots like a sensor input?

Subject: Eliminate Signal crests

From: Alan B

Date: 30 Jul, 2009 19:24:02

Message: 4 of 4

"Giacomo " <bigbig1982@hotmail.com> wrote in message <h4s0qk$3tj$1@fred.mathworks.com>...
> My input is a bit noisy, I wish to transform it in a more smooth one to avoid some errors. In the pict in blue is current signal, in red what it should be. How can I realize it?
>
> http://i27.tinypic.com/2nk89w4.jpg

If you're very confident of the shape of your data, and you just need to detect the transition point, you might try the Ramer-Douglas-Peucker algorithm for simplifying curves: http://en.wikipedia.org/wiki/Ramer-Douglas-Peucker_algorithm .

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
signal Sprinceana 30 Jul, 2009 12:17:39
eliminate signa... Sprinceana 30 Jul, 2009 12:17:39
rssFeed for this Thread

Contact us at files@mathworks.com