Creating a formula from plot points

AI Thread Summary
To create a formula from nearly linear plot points, regression analysis is recommended. It's essential to have a preliminary idea of the underlying equation before starting the analysis. If only two points are available, only a linear relationship can be established. For datasets that resemble a line, the MATLAB function "polyfit" can be used to find the best-fitting line in the form y=mx+c. Utilizing these methods will help derive the desired equation from the plot data.
Little_grim
Messages
1
Reaction score
0
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.
 
Mathematics news on Phys.org
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.
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...

Similar threads

Back
Top