2024-heraklion-testing-debu.../hands_on/local_maxima/local_maxima.py

11 lines
193 B
Python
Raw Normal View History

2024-08-26 13:54:13 +02:00
def find_maxima(x):
"""Find local maxima of x.
Input arguments:
x -- 1D list of real numbers
Output:
idx -- list of indices of the local maxima in x
"""
return []