Cubic graphs to equation confusion

AI Thread Summary
The discussion revolves around confusion regarding the shape of a graph derived from ADC sensor data. The user initially believes their "S" shaped graph is cubic, but finds conflicting information online. Suggestions include using software like Excel, LoggerPro, or Matlab to fit the data to a function and determine coefficients. A key point is the importance of correctly identifying the axes to ensure the graph represents a valid function. The user later confirms that swapping the axes made the graph resemble a cubic shape.
Siksissk
Messages
8
Reaction score
0
Hi,

I have a sensor going into a microcontroller via a adc.

I have worked out the conversion from the adc value into real terms.

Now the math takes too long in code to run this. and a look up table with 1024 elements will fill my program memory very quickly.

So I have put the results into excel, and the graph has come up as a "S" shape, Now I believe this is a cubic graph, but my confusion lies that a general google search shows cubic graphs as backwards N shape, where as mine looks to be spun around by 90 degrees.

So,

1: is the graph I have, Cubic, or something else?
2: how can I work out the formula (a^3 + b^2 + c) from points in my graph?

Thanks
 
Mathematics news on Phys.org
Maybe you should post the print screen of the graph, in order to help us to recognize the type of function. Anyway, I think that Excel has a function to fit your data with a function, if there is the software automatically tells you the coefficents ;)
A software that does that is LoggerPro, and probably even Matlab can help you.
 
I think we really should see a picture of your plot, because it sounds like you don't actually have a function, unless you are accidentally plotting the dependent variable on the vertical axis and the independent variable on the horizontal axis, or if your curve is a very 'thin' s. For example, if your curve is "curvy" enough that it fails the vertical line test (a vertical line should only cross your curve at one point), then you don't have a function. However, if you swapped the horizontal and vertical axes by mistake, then you would have a function, because rotating it should make it pass the vertical line test.
 
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...
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Back
Top