Hi,
I would like to find out a simple solution to the following problem:
I have two time series data sets, in terms of discrete points. Now without involving extensive regression mathematics, i need to find out the point of intersection of these two data series. A close approximation would be good enough.
The point of intersection is between the maxima and minima of the time series, i.e. they intersect within the extremities of the dataset.
A solution around Oracle or C#/VB.NET would be ideal.
Thanks,
[Update: a bit of elaboration]
There are two sets of data points:
Set A say:
(0,1),(1,5),(5,11),(10,17),(12,21),(15,25),(20,32),(30,43),(40,41)
and
Set B say:
(4,11),(11,15),(15,21),(20,37),(22,41),(25,55),(30,62),(40,73),(50,81)
(these numbers are just arbitrary, so please excuse if these do not actually intersect, or have more than one intersection points)
In my case, these curves are demand supply lines, which meet at one and only one point. This point of intersection is what i need to find out, with a simple numeric algorithm.
I can provide actual numbers if that helps.
Thanks in advance.
[/Update]