Re: [R] Regression of complex-valued functions

2014-02-12 Thread Andrea Graziani
> M +45 2547 6050 > fr...@vestas.com > http://www.vestas.com > > Company reg. name: Vestas Wind Systems A/S > This e-mail is subject to our e-mail disclaimer statement. > Please refer to www.vestas.com/legal/notice > If you have received this e-mail in error please contac

Re: [R] Regression of complex-valued functions

2014-02-12 Thread Andrea Graziani
im() or nlm() to minimize it that function with respect to "theta". > > HTH > > cheers, > > Rolf Turner > > > On 10/02/14 11:45, Andrea Graziani wrote: >> Hi everyone, >> >> I previously posted this question but my message was not well

[R] Regression of complex-valued functions

2014-02-09 Thread Andrea Graziani
Hi everyone, I previously posted this question but my message was not well written and did not contain any code so I will try to do a better job this time. The goal is to perform a non-linear regression on complex-valued data. I will first give a short description of the data and then describe t

[R] Regression of complex-valued functions

2014-01-25 Thread Andrea Graziani
Hi, I tried to use nls() to fit a complex-valued (non linear) function that looks like this: y = A + B / (1 + C * (i*x*D)^E) where x is the real-valued independent variable, A,B,C,D,E are real-valued parameters and i is the imaginary unit. I had the followin error (my translation into englis