Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations The Obturator on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Numberical Method to ID changing slope in poor data

Status
Not open for further replies.

elfman

Mechanical
Oct 21, 2003
79
I have a set of data and overall it tells me what I want to know. However, there are areas in the curve that the data jumps up and down. My algorithm looks at the slope from point to point, and gets confused when the general trend is negative, but between two or three points it goes positive. In my data, I expect the slope to change several times from start to end, but numerically I can't figure out how to identify the trends vs. the localized slope changes. Any one have some ideas one numerically analyzing the data?

Thanks in advance.
 
Replies continue below

Recommended for you

Do a polynomial fit and throw out the higher terms.

Analyse the moving average instead of the individual data points.

FFT it, throw the high frequency stuff away, then IFFT it (may be more complex than that)

There are many solutions.


Cheers

Greg Locock
 
I would start with a three or five point moving average.
 
There are proceedures to filter row data that do not lose peaks in derivatives.Search for proceedure "LOESS" or "Savitzky-Golay" or commercialy available "Peak finder".These routines are heavilly used in modern instrumentation algorithms like thermoanalysis,spectrometry etc and are not difficult to program.
m777182
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor