LabVIEW MathScript RT Module

cancel
Showing results for 
Search instead for 
Did you mean: 

How to write sigmoid equation into formula string in Nonlinear Curve Fit LM?

I am using a sigmoid 4 parameter formula to fit a step-like curve,

The formula is y=y0+a/(1+ exp(-(x-x0)/b))

How to write this equation into formula string in Nonlinear Curve Fit LM?

Thanks for any help.

0 Kudos
Message 1 of 2
(8,287 Views)
Hi,
 
I suppose that a and b are the unknown parameters. You can add y0+a/(1+ exp(-(x-x0)/b)) in model, add a and b in the array of Parameters and add x in x. Note that you should replace x0 and y0 with the actual number.
0 Kudos
Message 2 of 2
(8,247 Views)