Re: Signal smoothing
Blaz <[email protected]>
| Newsgroups | gmane.comp.gnu.octave.general |
|---|---|
| Message-ID | <[email protected]> |
Sure. I will try it. In the first post I have enclosed the picture of the wanted result. I have an input vector x. (which can also have a shape of ordinary sine wave). What I need to do is create a result signal y which picks up local max values (peaks) and from there the value of y exponentialy decays with the T as a time constant until the input signal x value is smaller than y. If the input x is greater again than the exponential decayed signal, then the resulting y takes the shape of X again. However, it is important that the y never drops to 0 or gets lower than x and that it strictly follows local peaks of x. Perhaps an low pass filter would do this task or also some kind of averaging. I am enclosing the picture again. ex.png <https://octave.1599824.n4.nabble.com/file/t373917/ex.png> -- Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html