Program to solve for a formula given a set of pairs of points?

AI Thread Summary
A program to determine a general function from a set of points does not exist due to the infinite possibilities of functions that can fit any given dataset. The discussion highlights least squares polynomial fitting as a common method for data fitting. The original poster is exploring a music synthesizer program that converts note frequencies into hexadecimal, seeking to understand this conversion process. It is suggested that the hexadecimal numbers may correspond to MIDI notes, with a reference to a relevant formula for pitch labeling. The topic of music programming is noted as being better suited for a specialized forum.
zeion
Messages
455
Reaction score
1
Hi,

I'm look for a program that can solve for a general function when given a set of pairs of points?
Does anything like that exist?

Thanks.
 
Mathematics news on Phys.org
This doesn't exist, because there are infinitely many functions that can fit any given set of points. Is there any particular kind of function you think the points are supposed to look like? Least squares polynomial fitting is the most common type of data fitting to a function
 
Basically...
I'm looking at a music synthesizer program that converts frequency of notes into a hexadecimal representation that the program reads and plays, and I'm trying to get it to play my custom songs, but I can't figure out how it's doing that conversion.
 
If the 'hexadecimal' numbers you refer to are MIDI notes, then the formula is very likely this one:
http://en.wikipedia.org/wiki/Pitch_(music)#Labeling_pitches

But this is a question better suited for a sound programming forum; it has little relation to what you wrote in your first post, I'm afraid.
 
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...
Thread 'Imaginary Pythagoras'
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...
Back
Top