envelopetop

Calculates the top envelope of the signal.

Arguments

  1. Input signal vector x

Output

Result vector

Examples

envelopetop