
Re: ReplacePart
Posted:
Sep 15, 2013 6:55 AM


ReplacePart doesn't modify its arguments, assign the result back to x.
x=ReplacePart[x, {5, 10} > 0.]
On Saturday, September 14, 2013, man21 wrote:
> Hello, > > As a result of a calculation, I end up with a list of numerical values > which contains some "Indeterminate". > > x ={1.25664, 0.628319, 0.628319, 1.25664, Indeterminate, 1.25664, > 0.628319, 0.628319, 1.25664, Indeterminate} > > I try to replace the "Indeterminate" by "0", using : > > ReplacePart[x, {5, 10} > 0.] > > but this dosen't work. Any idea why, and how to do it ? > > Thanks, > > Michel > > >

