Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 30 Apr 2011 07:53:24 -0500
From: mahdi <user@compgroups.net/>
Subject: Re: complex x using lsqnonlin optimisation
Newsgroups: comp.soft-sys.matlab
UserIpAddress: 175.136.187.189
InternalId: 4b8f62b4-1af9-496e-ab7a-c73a4a98872e
References: <icojpu$om6$1@fred.mathworks.com>
Message-ID: <5OSdnQwHlKTZmyHQnZ2dnUVZ_vmdnZ2d@giganews.com>
Date: Sat, 30 Apr 2011 07:53:24 -0500
Lines: 4
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-xymn3Wh9+vo4Jr0Q8TkYLdZtd1dkOFJxNfY2wKNp7ML/vFJdGdfTKJRtWgKuXNWdVmujUuJk8uEWeGM!xaUIhlbvTuYM7Kia+3X7Bx+etXrFgrdANBGNwU9hweYQjdZI77C+FNchsJJZBxL9WQvPl/QvSA==
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Lines: 3
X-Original-Bytes: 1107
Xref: news.mathworks.com comp.soft-sys.matlab:724561

Hi
I think you should divide it into two seperate variable as x=x1+i*x2 next you should find the values of x1 and x2