How can i make a smoothed envelope of my complex (random) signal?

8 Ansichten (letzte 30 Tage)
I would like to plot a envelope over my random signal (complex). My matlab does not support the function 'envelope'. Any ideas how I can do this?
Thanks in advanced.
stijn
  4 Kommentare
Adam
Adam am 29 Aug. 2017
Smoothing is something of a black art and depends entirely on your data, what you want to get from it, etc, etc.
You could just slap a length 5 mean filter over your envelope to smooth it, but that is very aggressive.
Or you can use a Savitzky-Golay filter
doc sgolay
to do some post smoothing. That requires a lot of parameterisation though which again depends on just how smooth you want it vs how much of your data you want to retain.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Star Strider
Star Strider am 29 Aug. 2017
The envelope (link) function uses the absolute value of the hilbert (link) function. Use that instead.
For more information, see Envelope Extraction Using the Analytic Signal (link).

Weitere Antworten (0)

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by