Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Finding equation of a curve in matlab

Status
Not open for further replies.

davidmandis

Mechanical
Nov 17, 2007
39
Hi,
I need to find a single equation to represent the curve shown in the attached figure. I have access to MATLAB if that will help. Can anyone help me out?

Thanks,
David
 
Replies continue below

Recommended for you

If t<3750, it's a ramp, else it's a constant

TTFN

FAQ731-376
 
Ya i know that but let me explain the problem. I need to solve a dynamic problem and this curve represents the load-deflection characteristics of a spring. So, instead of a linear F=kx, I would need an equation that represents this curve. Do you think I can curve fit and get a single equation (if yes can MATLAB give me the equation of the line after curve fitting) or will I have to solve it in two halves with a ramp t<3750 and remaining constant?

Thanks,
David
 
You have to solve separately, because curve fitting assumes continuous derivatives.

TTFN

FAQ731-376
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor