Register to reply

Find the linear portion of a curve

by RandomGuy88
Tags: curve, linear, portion
Share this thread:
Jul19-11, 02:30 PM
P: 365

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?

Phys.Org News Partner Engineering news on
Tricorder XPRIZE: 10 teams advance in global competition to develop consumer-focused diagnostic device
Study shows local seismic isolation and damping methods provide optimal protection for essential computing equipment
New filter technology uses inert gas to bore holes in high-quality steel
Jul19-11, 04:08 PM
HW Helper
P: 925
Tricky business I would think. What the human brain can easily do isn't necessarily so easy to replicate with a computer program.
Bob S
Jul19-11, 08:01 PM
P: 4,663
Will the curve fitting program mentioned in post #8 in work?

Diffferentiate the result for the slope.

Bob S

jack action
Jul21-11, 09:07 AM
P: 566
Find the linear portion of a curve

You calculate the derivative for every points you have. This will give you the slope for every point. If the slope is the same as the next one, then you have a straight line between those 2 points. Any place where you have a straight line, the second derivative will be equal to zero (which means źno change in slope╗).

Register to reply

Related Discussions
Non linear curve fitting General Engineering 25
Find Reaction forces using energy methods (curved beam portion) Engineering, Comp Sci, & Technology Homework 1
Area of Portion of Ellipse Advanced Physics Homework 1
Length of a portion of a circle Differential Geometry 12
Area of portion of sphere Calculus & Beyond Homework 3