forum.alglib.net

ALGLIB forum
It is currently Sun Dec 22, 2024 9:13 am

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Curve Fitting, How to fit Gaussian Curve
PostPosted: Tue Jan 25, 2011 6:54 am 
Offline

Joined: Tue Jan 25, 2011 6:32 am
Posts: 3
I am trying to fit a Gaussian equation in Visual Basic 6:
f(z) = k * exp((-k^2)*(z-0.11)^2) / Sqrt(pi).
I have the set of "f(z)" values with different values of "z". Now I want to find the value of "k" which best fitts with my data and the Gaussian equation. I would like to use ALGLIB with VB6 to give me values for "k". Please tell me how to Implement it.
I have already gone through all the functions by ALGLIB but not possible for me to use.


Top
 Profile  
 
 Post subject: Re: Curve Fitting, How to fit Gaussian Curve
PostPosted: Tue Jan 25, 2011 7:43 am 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
ALGLIB for VBA/VB6 is not up-to-date (version number is still 2.6), so it doesn't support modern fitting features, nor it supports examples. I recommend you to read viewtopic.php?f=2&t=61 - it contains some information about nonlinear fitting in VBA along with code snippets.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 56 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group