×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Contact US

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!

*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

HELP! Fitting line into 5 points

HELP! Fitting line into 5 points

HELP! Fitting line into 5 points

(OP)
Hello everyone! :)

Is there anybody who could help me please?

I would like to fit a line into 5 fix points. I'm trying to do it with a function, but the problem is, that the x-axis has logarithmic scale.
Maybe I shoud use the loglinear version of the equation of the line, but it doesn't work...
Plase someone help me.

Thanks a lot!!!!
:)))

RE: HELP! Fitting line into 5 points

As mentioned in the other thread, if you post the data or worksheet, it'll be easier to help you.

Please also delete your starting post of the other thread to delete the thread.

TTFN (ta ta for now)
I can do absolutely anything. I'm an expert! https://www.youtube.com/watch?v=BKorP55Aqvg
FAQ731-376: Eng-Tips.com Forum Policies forum1529: Translation Assistance for Engineers Entire Forum list http://www.eng-tips.com/forumlist.cfm

RE: HELP! Fitting line into 5 points

I did a quick Google search for "curve fitting with Mathcad" and found lots of sites that address your query, either directly or indirectly. Here are three examples. The first two are from the PTC website (BTW, Mathcad has functions for logarithmic and exponential regression.) and the other is from a university in the Middle East:
http://support.ptc.com/help/mathcad/en/index.html#...
http://support.ptc.com/help/mathcad/en/index.html#...
http://users.metu.edu.tr/ender/Mathcad%20-%20Curve...

A more general, non-Mathcad resource you may find useful is "Curve Fitting for Programmable Calculator," by William M. Kolb. It's nearly 40 years old, but is still available through used book sellers. This book covers many different regression models. I would tell you more, but my copy is at the office. It appears that a PDF is available on scribd.com and a few other sites.

If you ever have more exotic curve fitting needs, I suggest CurveExpert: https://www.curveexpert.net/. I have the Professional version. I bought it about seven (?) years ago to try out different methods of approximating the Colebrook-White Equation (for hydraulics). Oh, and to address a curve fitting problem at work. smile (I wanted to try more than what the built-in capabilities in Excel and Mathcad were giving me.) I have also used CurveExpert to help me reverse engineer some complex nomographs.


============
"Is it the only lesson of history that mankind is unteachable?"
--Winston S. Churchill

RE: HELP! Fitting line into 5 points

(OP)
IRstuff.
I want to do it with Mathcad because I have more thing to do with the task. It's just a little part of it.
Okay, here it is:

In the graph you can see the elements of the matrix A. I put a circle around them. So what I want is to make the green line with a function. The green line must fit into the 5 points of the matrix A. Can you please help me?

I upload the picture I made to explain my problem and I also upload the mathcad file.


RE: HELP! Fitting line into 5 points

(OP)
Oh, what a pity... :( Thank you anyway :)

RE: HELP! Fitting line into 5 points

Much ado about nothing; the segment is basically a straight line, and would be a perfect straight line, except that you seem to have a typo at the fourth data point, since you have 952 , but f(950)

TTFN (ta ta for now)
I can do absolutely anything. I'm an expert! https://www.youtube.com/watch?v=BKorP55Aqvg
FAQ731-376: Eng-Tips.com Forum Policies forum1529: Translation Assistance for Engineers Entire Forum list http://www.eng-tips.com/forumlist.cfm

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! Already a Member? Login


Resources

Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close