From: Charles Ding on
Dear all,

I am try to fit a complex dataset (a vector of complex numbers), using lsqcurvefit and a self-defined complex function with real-numbered coefficients that are to be determined (initial values x0, and output x).

The problems:

1) The output x is complex, but the lower boundary and upper boundary seemed not work.

2) The fitting was bad if I set x0 = real(x0) in the function.

Any suggestions? Thanks for your help!

Charles
 | 
Pages: 1
Prev: scatter data on a map
Next: Structs help