peaks

Find the local maximums

Arguments

  1. Input vector or matrix

Output

Resulting vector or matrix

Examples

peaks