I'm not sure if labview 4 has specific VI's for lorentzian fitting but
if it does not then one suggestion would be to modify the code in
these existing VI's for curvef it and saving them as another name. try
this. If you do nothave any curve fit VI's let me know and I will send
you the ones I have.
Can I do Lorentzian curve fitting with labview 4? The formula for
Lorentzian fitting is y=k0+k1/((x-k2)^2+k3).
I am not very certain if you can do it, if you do not have any guess
coefficients. It is a known problem that if the guess coefficients are too
far away from the real values, the fitting can go wild.
However if you have some sort of idea what the coefficients-area,
offset,FWHM and center are, you
Could you post it to the forum as well? So that any interested person
can benefit?
Best regards
-Tanveer
I assume you have a curve that you want to fit to a gaussian function.
I would just use Levenberg_marquardt. Contact me at
caltenba(AT)ucla.edu and I'll send you a simple example.
Assuming that your data has a Gaussian distribution then the Gaussian
(normal) curve is defined by the mean and the standard deviation, both
of which can be found using the Standard Deviation and Variance
function under the Probability and Statistics portion of the
Mathematics menu.
Based on your
I want to fit my data to some gaussian. I don't know any coefficients.
Can anyone tell me how can I compare my data set to some arbitrary
gaussian.?
In anticipation of reply.
priiyank