Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

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


  • Prev by Date: Re: How to represent Discrete Signals Symbolically Using Mathematica
  • Next by Date: FindRoot syntax?
  • Previous by thread: Re: want real solutions instead of complex ones
  • Next by thread: Re: want real solutions instead of complex ones