Sunday, 11 August 2013

Find local min and local max from dataset

Find local min and local max from dataset

I have a collection of data consists of TIME and TEMPERATURE as follow:
(time1, temp1), (time2, temp2), (time3, temp3), ... (time-n temp-n).
I cannot come up with a good computer algorithm to find the local min(s)
and local max(s). Not sure what is the best approach here.

No comments:

Post a Comment