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

6 vues (au cours des 30 derniers jours)
Stijn Hillenius
Stijn Hillenius le 29 Août 2017
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 commentaires
Adam
Adam le 29 Août 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.
Stijn Hillenius
Stijn Hillenius le 5 Sep 2017
Thank you

Connectez-vous pour commenter.

Réponse acceptée

Star Strider
Star Strider le 29 Août 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).

Plus de réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by