Register to reply

Creating a formula from plot points

by Little_grim
Tags: creating, formula, plot, points
Share this thread:
Little_grim
#1
Oct26-13, 04:07 PM
P: 1
Hallo all...

I have a couple of plot values that I am trying to derive a formula from. The points are almost linear but not quite...

Was hoping someone could shed some light on how to go about this...
I have Matlab 7.1, would like to use it if at all possible....

Any help would be appreciated.
Phys.Org News Partner Mathematics news on Phys.org
Professor quantifies how 'one thing leads to another'
Team announces construction of a formal computer-verified proof of the Kepler conjecture
Iranian is first woman to win 'Nobel Prize of maths' (Update)
Simon Bridge
#2
Oct26-13, 07:20 PM
Homework
Sci Advisor
HW Helper
Thanks
Simon Bridge's Avatar
P: 12,739
Welcome to PF;
Turning a plot into an equation is called regression analysis.
You have to start out with a good idea of what the underlying equation should be before you start.

If you only have two points, then you can only plot a line - I'm guessing you mean you have a couple of datasets that, when you graph them, make something that looks like it's trying to be a line.

The matlab function you want will be: polyfit
... you want to find the line y=mx+c that best fits the data.


Register to reply

Related Discussions
Creating a Bode plot by analyzing a transfer function Engineering, Comp Sci, & Technology Homework 3
Creating equation out of 5 point or more from graph plot. Calculus 5
How To Plot A Curve With Given Three Points? General Math 7
Producing a graph plot of points in 2D/3D Programming & Computer Science 11
Creating a Y = kx + m plot in excel Introductory Physics Homework 0