Create Gaussian Function from Coords: Learn Integration & Matrix

  • Thread starter Thread starter SHRock
  • Start date Start date
  • Tags Tags
    Function Gaussian
SHRock
Messages
8
Reaction score
0
I am completely new to this so bare with me.

I have co-ordinates and I want to create a Gaussian function. I already know the function which is

y=0.01235140544*e^(-(x-36.28663863)^2/(-135.1643617))

But I need to know how to get a,b,c

The Coordinates are

{35,.01}
{28,0.03}
{20,.1}
{15,.3}
{11,1}
{9,3}
{6,10}
{4.5,30}

Thanks

Edit: If your going to use integration then please give a basis or send a link to website where I can learn integration. Also is it possible to solve with a matrix. Well I don't really need a gaussian function, a power function will also work or any function with the closest curve fit
 
Last edited:
Physics news on Phys.org
SHRock said:
I am completely new to this so bare with me.

Well, I'm certainly not going to take off my clothes with you. :blushing:

I have co-ordinates and I want to create a Gaussian function. I already know the function which is

y=0.01235140544*e^(-(x-36.28663863)^2/(-135.1643617))

But I need to know how to get a,b,c

The Coordinates are

{35,.01}
{28,0.03}
{20,.1}
{15,.3}
{11,1}
{9,3}
{6,10}
{4.5,30}

Thanks

Edit: If your going to use integration then please give a basis or send a link to website where I can learn integration. Also is it possible to solve with a matrix. Well I don't really need a gaussian function, a power function will also work or any function with the closest curve fit

Hard to say. I suppose you want to do a least squares regression. Since the logarithm of a Gaussian is a second degree polynomial you might take the log of the data and try a least squares fit by a second degree polynomial.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top