Find the linear portion of a curve

  • Thread starter Thread starter RandomGuy88
  • Start date Start date
  • Tags Tags
    Curve Linear
Click For Summary
To find the slope of the linear portion of a curve from experimental data, one can utilize curve fitting techniques to isolate the linear segment automatically. Manual removal of non-linear sections is an option, but automating this process is preferable. Suggestions include using robust regression methods to minimize the influence of outliers. Differentiation of the fitted curve can also help identify where the slope is constant. The discussion highlights the challenges of replicating human intuition in data analysis through programming.
RandomGuy88
Messages
404
Reaction score
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
 
Engineering news on Phys.org
What mathematics software should engineering students use? Is it correct that much of the engineering industry relies on MATLAB, making it the tool many graduates will encounter in professional settings? How does SageMath compare? It is a free package that supports both numerical and symbolic computation and can be installed on various platforms. Could it become more widely used because it is freely available? I am an academic who has taught engineering mathematics, and taught the...

Similar threads

  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 11 ·
Replies
11
Views
5K
  • · Replies 21 ·
Replies
21
Views
8K
  • · Replies 23 ·
Replies
23
Views
4K
Replies
12
Views
9K