Re: want real solutions instead of complex ones
- To: mathgroup at smc.vnet.net
- Subject: [mg66492] Re: want real solutions instead of complex ones
- From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
- Date: Wed, 17 May 2006 03:29:19 -0400 (EDT)
- Organization: The Open University, Milton Keynes, UK
- References: <e4biic$175$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Nabeel Butt wrote:
> Dear All,
> I solve a system of 10 equations and get real solution along with
> complex ones.Is there a way such that I get only real solutions satisfying
> given constraints using NSolve.
After the last output,
DeleteCases[%, {x -> _Complex, y -> _Complex}]
will return the real solutions only.
HTH,
Jean-Marc