MATLAB: How can i make a smoothed envelope of the complex (random) signal

complex signalenvelopeMATLABsmoothedwave signal

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

Best Answer

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).