# NSolve with conditions on complex solutions

Posted 7 months ago
700 Views
|
4 Replies
|
2 Total Likes
|
 I'm trying to solve a system of coupled equations where the results are expected to be complex. The problem is that I want only the solutions that fall in range [-i,i], when I put this condition, I got error about invalid comparison of complexes. Is there any way to put this condition on the obtained solutions. Attachments:
4 Replies
Sort By:
Posted 7 months ago
 What do you mean by "range [-i,i]"? Is that the segment between the points -i and i in the complex plane? Then the conditions should be Re[variable]==0&&-1<=Im[variable]<=1.
Posted 7 months ago
 I meant the real and imaginary parts should be ranged between -1 and 1