Re: NSolve and array
- To: mathgroup at smc.vnet.net
- Subject: [mg64749] Re: [mg64714] NSolve and array
- From: Pratik Desai <pdesai1 at umbc.edu>
- Date: Thu, 2 Mar 2006 06:47:36 -0500 (EST)
- References: <200603010911.EAA19363@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
behnam.kia at gmail.com 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? > >thanks > > > The easiest way that I know to do this is sol1 = NSolve[poly == 0, x] xdata = x /. sol1 Hope this helps Pratik
- References:
- NSolve and array
- From: "behnam.kia@gmail.com" <behnam.kia@gmail.com>
- NSolve and array