Hi
Sorry, I am not talking about starting parameters. I am wondering how to fix a fitting parameter at runtime. For instance, in your exemple with gaussians
https://forums.ni.com/t5/LabVIEW/multi-peak-fitting-Error-20041/m-p/2715583
, the f(X, a) function reads (Amplitude, Position, width) from a 2D array. Suppose I know and I want to fix the position at runtime ?
Is there a way to fix the positions ? (except selecting a different function model programatically).
My second question was : how can we constrain positive values ? In the LM constrained we need to feed a cluster of two arrays with mas and min parameters (but won't accept "Inf").
thanks