Find the linear portion of a curve


by RandomGuy88
Tags: curve, linear, portion
RandomGuy88
RandomGuy88 is offline
#1
Jul19-11, 02:30 PM
P: 362
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
Phys.Org News Partner Engineering news on Phys.org
Smart sensor technology to combat indoor air pollution
Microscope camera to shed light how living cells behave
BLOODHOUND team predict the impact of the 1,000 mph supersonic car
hotvette
hotvette is offline
#2
Jul19-11, 04:08 PM
HW Helper
P: 930
Tricky business I would think. What the human brain can easily do isn't necessarily so easy to replicate with a computer program.

http://ieeexplore.ieee.org/stamp/sta...umber=05716374

http://en.wikipedia.org/wiki/Robust_regression

http://www.mendeley.com/research/emp...r-elimination/

http://pubs.acs.org/doi/abs/10.1021/ed082p1472.2
Bob S
Bob S is offline
#3
Jul19-11, 08:01 PM
P: 4,664
Will the curve fitting program mentioned in post #8 in http://www.physicsforums.com/showthread.php?t=364600 work?

Diffferentiate the result for the slope.

Bob S

jack action
jack action is offline
#4
Jul21-11, 09:07 AM
P: 521

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