Re: Remove Indeterminate elements
- To: mathgroup at smc.vnet.net
- Subject: [mg64291] Re: [mg64280] Remove Indeterminate elements
- From: gardyloo <gardyloo at mail.wsu.edu>
- Date: Thu, 9 Feb 2006 03:38:29 -0500 (EST)
- References: <200602090744.CAA19372@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Baris Erbas wrote: >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 > > > > Probably the most straightforward way :) Needs["Statistics`DataManipulation`"] list = {{Indeterminate, Indeterminate}, {2, 46.366782627682156`}, {3, 69.54492936918818`}, {4, 92.9399378277631`}, {Indeterminate, Indeterminate}, {6, 138.99867008246846`}, {7, 161.99861473742195`}, {8, 185.10189757264996`}, {9, 208.72560583731791`}, {10, 231.91791443344684`}} DropNonNumeric[newList] {{2,46.3668},{3,69.5449},{4,92.9399},{6,138.999},{7,161.999},{8,185.102},{9, 208.726},{10,231.918}} Good luck! Curtis O.
- References:
- Remove Indeterminate elements
- From: "Baris Erbas" <berbas@anadolu.edu.tr>
- Remove Indeterminate elements