×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Numberical Method to ID changing slope in poor data

Numberical Method to ID changing slope in poor data

Numberical Method to ID changing slope in poor data

(OP)
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.  

RE: Numberical Method to ID changing slope in poor data

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

RE: Numberical Method to ID changing slope in poor data

I would start with a three or five point moving average.

RE: Numberical Method to ID changing slope in poor data

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources