Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #15452

Re: ReplacePart

From Adriano Pascoletti <adriano.pascoletti@uniud.it>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: ReplacePart
Date 2013-09-15 11:04 +0000
Message-ID <l14471$psl$1@smc.vnet.net> (permalink)
References <20130914100259.8EA2C6A1A@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


ReplacePart[x, {{5}, {10}} -> 0.]


Adriano Pascoletti


2013/9/14 man21 <man21@free.fr>

> 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
>
>
>

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: ReplacePart Adriano Pascoletti <adriano.pascoletti@uniud.it> - 2013-09-15 11:04 +0000

csiph-web