find_extrema {LMD} | R Documentation |
Method for finding Extreme Points
find_extrema(signal, include_endpoints = TRUE)
signal |
Signal values (Numeric | vector) |
include_endpoints |
whether to include end points or not (Boolean) |
A local extrema is the point at which a maximum or minimum value of the function in some open interval containing the point is obtained.
Indexes of all extrema values (including starting and ending points)
Shubhra Prakash, shubhraprakash279@gmail.com
signal=c( 0.841471 ,0.9092974,0.14112,-0.7568025,-0.9589243)
find_extrema(signal)