Hi everyone,
I need to fit somekind of a log curve to a series of data, and ideally I should do it in PHP.
I have an array with 2000 values of time from start in sec (index) and light intensity (value). These values are not smooth (steps). I need to compare these values to the ones generated by some know log functions or variants and see which is the best curve that descibe the data I have. When the proper curve is selected, I need to modify each value of the array to be on the curve in order to obtain a smoother curve.
I have not yet come across any script or class that does that.
I don't know where to start... can someone help me please?
Paul