find local minima within a time window of interest
조회 수: 3 (최근 30일)
Star Strider 2021년 11월 11일
To find the minimum using findpeaks, multiply the first argument (‘y’) by -1 so the minimum becomes a maximum. Do not use the second argument as ‘x’ so that ‘locs’ returns an index. Then, use the ‘locs’ output with the original ‘x’ and ‘y’ vectors to get those values.