Re: Remove Indeterminate elements

• To: mathgroup at smc.vnet.net
• Subject: [mg64292] Re: [mg64280] Remove Indeterminate elements
• From: "Baris Erbas" <berbas at anadolu.edu.tr>
• Date: Fri, 10 Feb 2006 02:13:29 -0500 (EST)
• Sender: owner-wri-mathgroup at wolfram.com

```Dear Maarten,
I had sorted out the problem with a test under a For loop, but the Select
function you suggested seems much shorter and efficient.

Thank you all for your help.
Baris

> -----Original Message-----
> From: Maarten van der Burgt [mailto:maarten.vanderburgt at icos.be]
To: mathgroup at smc.vnet.net
> Subject: [mg64292] Re: [mg64280] Remove Indeterminate elements
>
>
> Baris,
>
> With the function Select you can tackle these problems.
>
> t={{1,2},{3,4},{5,6},{Indeterminate,Indeterminate},{8,9}}
>
> Select[t,NumericQ[Plus@@#]&]
>
> {{1,2},{3,4},{5,6},{8,9}}
>
> The 2nd argument in Select adds the entities of the elements of t and
> return False when the result in not Numeric.
>
> Hope this helps
>
> Maarten
>
>
>
>
>                     "Baris Erbas"
>                     <berbas@anado        To:     mathgroup at smc.vnet.net
>                     lu.edu.tr>           cc:
>                                          Subject: [mg64292]     [mg64280] Remove
> Indeterminate elements
>                     09/02/2006
>                     08:44
>                     respond to
>                     berbas
>
>
>
>
>
>
>
> Dear All,
>
> I have been trying to remove some elements of a list which should be quite
> straightforward. The list is as follows:
>
> {{x1,y1},{x2,y2},.{xi,yi},{Indeterminate,Indeterminate},.{xn,yn}}. All the
> components are real numbers apart from some Indeterminate expressions. I
> want the list without the Indeterminate terms. I have been trying to use
> Delete with If command but cannot succeed.
>