Re: Remove Indeterminate elements
- To: mathgroup at smc.vnet.net
- Subject: [mg64290] Re: [mg64280] Remove Indeterminate elements
- From: "Maarten van der Burgt" <maarten.vanderburgt at icos.be>
- Date: Thu, 9 Feb 2006 03:38:27 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
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: [mg64290] [mg64280] Remove Indeterminate elements 09/02/2006 08:44 Please 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. Can anyone help please? Thanks