05-12-2008 04:33 PM
I am using "Nonlinear Curve Fit LM" for a Poisson type distribution.
The Possion equation is f(x)=a^x*exp(-a)/ x!
Where x! is factorial of x.
How to write this equation to F(x,a) input?
Thanks for help!
Raymond
05-12-2008 05:52 PM
05-12-2008 07:14 PM - edited 05-12-2008 07:15 PM
Actually, Stirling's approximation is pretty good for all positive inputs.
Here's a quick implementation of your function using the VI model (See insert)
Works pretty well. What is your LabVIEW version?
05-13-2008 09:26 AM
A nice posting, thanks a lot!
I almost get there, but I still have problem
to link this subvi to “Nonlinear Curve Fit LM” , I’m not familiar
with reference node at all, Could you throw me a little further hint? I am using Labiew 8.5 and the X set range is about 200~300.
05-13-2008 10:13 AM
up_horn wrote:
I am using Labiew 8.5 and the X set range is about 200~300.
05-14-2008 07:09 AM