Member_2_99151
asked on
Does anyone know an algorithm to detect peak trends in a graph?
Hi all,
I have a C# Windows Forms application that has a graphical component.
In here a simple line graph is displayed from a series of data.
I would like a routine to detect the peak value within this graph.
In the following Graph:
I would like it to return the maximum value in the area highlighted...
Any ideas how I might go about doing this?
Any help would really be appreciated.
Best regards,
James
I have a C# Windows Forms application that has a graphical component.
In here a simple line graph is displayed from a series of data.
I would like a routine to detect the peak value within this graph.
In the following Graph:
I would like it to return the maximum value in the area highlighted...
Any ideas how I might go about doing this?
Any help would really be appreciated.
Best regards,
James
Simply scan the data from X_Start to X_End and save the largest Y value.
ASKER
Hi,
I think I probably worded my question badly...
I am after the peak trend in a graph, not just the highest point.
As the graph shows, there are several spikes, however the area I am interested in is a prolonged period of 'activity'...
I'm sure there is a statistical term for this, but I have no idea what it is!
Thanks,
James
I think I probably worded my question badly...
I am after the peak trend in a graph, not just the highest point.
As the graph shows, there are several spikes, however the area I am interested in is a prolonged period of 'activity'...
I'm sure there is a statistical term for this, but I have no idea what it is!
Thanks,
James
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Bardobrave,
Your solution sounds like exactly what I am after!!!
Thanks a lot :-)
Best regards,
James
Your solution sounds like exactly what I am after!!!
Thanks a lot :-)
Best regards,
James