ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

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,563 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,523 Views)