Click here to Skip to main content
15,891,951 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Off-Topic [modified] Pin
soap brain8-Nov-08 3:52
soap brain8-Nov-08 3:52 
GeneralRe: Limit finding Pin
Hadi Dayvary1-Dec-08 8:40
professionalHadi Dayvary1-Dec-08 8:40 
GeneralRe: Limit finding Pin
Paul Conrad10-Nov-08 17:36
professionalPaul Conrad10-Nov-08 17:36 
GeneralRe: Limit finding Pin
Paul Conrad10-Nov-08 17:34
professionalPaul Conrad10-Nov-08 17:34 
GeneralRe: Limit finding Pin
73Zeppelin10-Nov-08 20:59
73Zeppelin10-Nov-08 20:59 
GeneralRe: Limit finding Pin
Paul Conrad11-Nov-08 16:25
professionalPaul Conrad11-Nov-08 16:25 
GeneralRe: Limit finding Pin
Hadi Dayvary1-Dec-08 8:24
professionalHadi Dayvary1-Dec-08 8:24 
QuestionBest fit Gaussian Pin
Iain Clarke, Warrior Programmer6-Nov-08 5:33
Iain Clarke, Warrior Programmer6-Nov-08 5:33 
I'm not expecting a wodge of code handed to me on a plate (though I won't say no...), more of a string hint on where to go looking.

I have a set of data points (successive Y values evenly spaced along the X axis). This is crudely a flat line of 0, with a bump part of the way a long, and then some noise added. The bump could well have a flat top to it.

By eye, it's easy to work out where the peak of the underlying curve should be, but a lot less easy to just grab a crude maximum value and expect it to be useful.

From experience, the curve is pretty close to a gaussian that someone has sliced the top off of. I'm trying to find some method of writing / reusing / blatantly stealing a black box function I can give a series of Y values, and get the parameters (centre X, magnitude and 'sharpness') of a gaussian curve.

Can you give me any pointers to useful web pages you've found?

I'm not averse to writing my own, wiggling values and doing fit comparisons, but I'm sure someone made a wonderful algorithm with three names in the 70s that would be vastly superior.

Iain.
QuestionRe: Best fit Gaussian Pin
CPallini6-Nov-08 7:45
mveCPallini6-Nov-08 7:45 
AnswerRe: Best fit Gaussian Pin
Iain Clarke, Warrior Programmer6-Nov-08 11:15
Iain Clarke, Warrior Programmer6-Nov-08 11:15 
GeneralRe: Best fit Gaussian Pin
CPallini6-Nov-08 21:22
mveCPallini6-Nov-08 21:22 
GeneralRe: Best fit Gaussian Pin
Iain Clarke, Warrior Programmer6-Nov-08 21:49
Iain Clarke, Warrior Programmer6-Nov-08 21:49 
GeneralRe: Best fit Gaussian Pin
CPallini6-Nov-08 22:16
mveCPallini6-Nov-08 22:16 
AnswerRe: Best fit Gaussian Pin
73Zeppelin6-Nov-08 7:59
73Zeppelin6-Nov-08 7:59 
GeneralRe: Best fit Gaussian Pin
Iain Clarke, Warrior Programmer6-Nov-08 11:16
Iain Clarke, Warrior Programmer6-Nov-08 11:16 
GeneralRe: Best fit Gaussian Pin
73Zeppelin6-Nov-08 21:09
73Zeppelin6-Nov-08 21:09 
GeneralRe: Best fit Gaussian Pin
Iain Clarke, Warrior Programmer6-Nov-08 21:51
Iain Clarke, Warrior Programmer6-Nov-08 21:51 
GeneralRe: Best fit Gaussian Pin
73Zeppelin6-Nov-08 22:59
73Zeppelin6-Nov-08 22:59 
JokeRe: Best fit Gaussian Pin
Iain Clarke, Warrior Programmer6-Nov-08 23:38
Iain Clarke, Warrior Programmer6-Nov-08 23:38 
GeneralRe: Best fit Gaussian Pin
73Zeppelin7-Nov-08 0:15
73Zeppelin7-Nov-08 0:15 
QuestionGet a polygons from edges Pin
furqan_sindhu5-Nov-08 22:31
furqan_sindhu5-Nov-08 22:31 
AnswerRe: Get a polygons from edges Pin
73Zeppelin6-Nov-08 0:44
73Zeppelin6-Nov-08 0:44 
GeneralRe: Get a polygons from edges Pin
furqan_sindhu6-Nov-08 1:25
furqan_sindhu6-Nov-08 1:25 
GeneralRe: Get a polygons from edges Pin
73Zeppelin6-Nov-08 1:35
73Zeppelin6-Nov-08 1:35 
GeneralRe: Get a polygons from edges Pin
Member 41945936-Nov-08 7:51
Member 41945936-Nov-08 7:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.