MathGroup Archive 2006

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

Search the Archive

Re: want real solutions instead of complex ones


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