I am dealing with some experimental data and i am trying to fit the data to a model.
In the model all the elements are of real values (circuit elements such as R,L,C)
But when i use the NonlinearModelFit function, the best fit parameters all contain real and imaginary parts (my data is in the form of
"a + I b")
Is there any way to let all the parameters contain only real part?
(the attatchment is a test code)
Attachment: Untitled-4.nb, URL: ,