|
|
| Author |
Message |
Simon-Shlomo Poil science forum beginner
Joined: 29 Apr 2005
Posts: 1
|
Posted: Fri Apr 29, 2005 11:36 am Post subject:
Complex fitting
|
|
|
I need to do some complex fitting e.i. fit some complex numbers to a
complex function. I am using IGOR to do fitting, but IGOR don't
support complex fitting.
Do anybody have an idea how to do this ? |
|
| Back to top |
|
 |
Torsten Hennig science forum Guru Wannabe
Joined: 28 Apr 2005
Posts: 136
|
Posted: Fri Apr 29, 2005 2:28 pm Post subject:
Re: Complex fitting
|
|
|
| Quote: | I need to do some complex fitting e.i. fit some complex >numbers to a
complex function. I am using IGOR to do fitting, but >IGOR don't
support complex fitting.
Do anybody have an idea how to do this ?
|
Hint:
min: sum (i=1,...,i=n) |f(z_i) - w_i|^2
where f is a complex-valued function and the z_i and w_i
are complex numbers can be reformulated as
min: sum (i=1,...,i=n) (Re (f(z_i)) - Re(w_i))^2 +
sum (i=1,...,i=n) (Im (f(z_i)) - Im(w_i))^2.
where Re(z) and Im(z) are the real and imaginary parts
of (the complex number) z.
This is the kind of fitting problem which can be
solved by a standard least-squares solver.
Best wishes
Torsten. |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Fri Jul 30, 2010 5:39 am | All times are GMT
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
Other DeniX Solutions sites:
Electronics forum |
Medicine forum |
Unix/Linux blog |
Unix/Linux documentation |
Unix/Linux forums
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|