Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 Re: Help Me ! » linearising a gaussian function » 2011-04-20 19:12:01

bobbym, thank you so much, I think I got everything I needed.
Cheers

#2 Re: Help Me ! » linearising a gaussian function » 2011-04-20 00:24:30

Thanks bobbym,
I actually have a set of about 206 points, and I want to fit those points to a gaussian curve (I know this can be simply done using matlab (which I already did) but I'm currently on the process of coding this process in python and therefore I needed a little bit more of insight). If I had my points already following a line I would only use the traditional formulae to compute the slope (m) and the  b values (y(x=0)). But I believe I still need to apply some changes to my values before I do this right?

Regards

#3 Help Me ! » linearising a gaussian function » 2011-04-19 23:25:15

VitorSilva
Replies: 5

Hello all,

I need to linearise the following Gaussian function:

f(x) =  a1*exp(-((x-b1)/c1)^2)

but I'm having a really hard time to come up with what is going to be the Y, the X the m and the b (assuming  y=mx+b as the expression that describes the line)

I only need this because I want to apply the method of least squares to compute those variables.. maybe there is a better way of doing this?

Thanks a lot
Vitor

Board footer

Powered by FluxBB