10-25-2014 03:32 AM
Please see the following graph. These points is plotted from an array(1D) vs. index. It consists of several strictly straight lines with different slopes. I wish to find the indexes of those inflection points (red arrows indicated). Is there any function or method?
10-25-2014 05:04 AM
10-25-2014 05:07 AM
@weitong wrote:
It consists of several strictly straight lines with different slopes.
If you have completely noiseless data, this is trivial. Where does the data come from?
What have you tried so far?
10-26-2014 05:43 PM - edited 10-26-2014 05:45 PM
These data points are generated by user defintion. They are generated piece by piece, however they are stored in a 1D array without separation. Sometimes, it is needed to be read back and rewapted into piece by piece from this 1D array for editing.
10-27-2014 06:53 AM
You could just do two derivatives. Where the second derivative is not 0 (change in slope), you got an inflection.