MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Fitting to complex values

  • To: mathgroup at
  • Subject: [mg30733] Re: Fitting to complex values
  • From: "Lawrence A. Walker Jr." <lwalker701_remove_ at>
  • Date: Sat, 8 Sep 2001 02:56:32 -0400 (EDT)
  • References: <9nalpb$npj$>
  • Sender: owner-wri-mathgroup at

Hi Max,

Try dividing the complex data into two data sets: real and imaginary. 
Then you can apply the NonlinearFit function twice.

For example

data = {{1, 1+2 I},{2, 3+4 I}, {3, 4+5 I}};

NonlinearFit[dataRe, func1, ...];
NonlinearFit[dataIm, func2, ...];

Note, you must specify the functions apriori.


Max Ulbrich wrote:

> Hi,
> I have complex data (re+im) from a lock-in amplifier and want to fit
> them
> to a complex function. Though, the NonlinearFit function doesn't work
> with complex data. Has anyone a solution?
> Max
> mailto:ulbrich at

  • Prev by Date: Assumptions about variables
  • Next by Date: Two Questions
  • Previous by thread: Fitting to complex values
  • Next by thread: Re: Fitting to complex values