find local max in time window
6 views (last 30 days)
am trying to find the local max in time window , i know that I have to define part from the signal then use the findpeaks built in function then take the max value of it.
pks_value=;this to store the max value from the peaks
[pks,locs] = findpeaks(temp);
it give me the error msg "Index exceeds matrix dimensions. " so how to fix it , what to change