Services & Resources / Wolfram Forums
MathGroup Archive
*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: NSolve and array

  • To: mathgroup at
  • Subject: [mg64749] Re: [mg64714] NSolve and array
  • From: Pratik Desai <pdesai1 at>
  • Date: Thu, 2 Mar 2006 06:47:36 -0500 (EST)
  • References: <>
  • Sender: owner-wri-mathgroup at at wrote:

>Hi every body. I have a problem with mathematica and I would be very
>glad if some one helps me.
>The problem is that I find the roots of  polynomial by NSolve and I
>want to put the results in an array for further manipulation, but I do
>not know how can I do it. More precisely I want to return the results
>of NSolve to an array or similary list.
>Would you please help me?
The easiest way that I know to do this is

sol1 = NSolve[poly == 0, x]
xdata = x /. sol1

Hope this helps


  • References:
  • Prev by Date: Re: NSolve and array
  • Next by Date: Re: NSolve and array
  • Previous by thread: NSolve and array
  • Next by thread: Re: NSolve and array