- #1
RandomGuy88
- 406
- 6
Hi,
So I have a set of experimental data and I would like to find the slope of the linear portion of the data. For example, say I have set of points, the first few points are not linear, then there is a chunk of data in the middle that is linear, and then the last several points are very non-linear. I would like to find the slope of this linear portion in the middle but the location and length of the linear portion will be different for each experiment. I could easily do this by just manually removing the non-linear portions of the curve but I would like for the computer to be able to do this automatically. Does anyone have any suggestions on the best way to do this?
Thanks
So I have a set of experimental data and I would like to find the slope of the linear portion of the data. For example, say I have set of points, the first few points are not linear, then there is a chunk of data in the middle that is linear, and then the last several points are very non-linear. I would like to find the slope of this linear portion in the middle but the location and length of the linear portion will be different for each experiment. I could easily do this by just manually removing the non-linear portions of the curve but I would like for the computer to be able to do this automatically. Does anyone have any suggestions on the best way to do this?
Thanks