Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Remove Indeterminate elements

  • To: mathgroup at smc.vnet.net
  • Subject: [mg64301] Re: [mg64280] Remove Indeterminate elements
  • From: <bsyehuda at gmail.com>
  • Date: Fri, 10 Feb 2006 02:13:38 -0500 (EST)
  • References: <200602090744.CAA19372@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

I would like to add the pattern matching option
t = {{1, 2}, {3, 4}, {5, 6}, {Indeterminate, Indeterminate}, {8, 9}}
DeleteCases[t, {___, Indeterminate, ___}]
or
DeleteCases[t, {Indeterminate ...}]
yehuda
On 2/9/06, Baris Erbas <berbas at anadolu.edu.tr> 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
>
>



  • Prev by Date: Re: Using sockets for "downloader" application in Mathematica
  • Next by Date: Re: Using Get in a Module
  • Previous by thread: Re: Remove Indeterminate elements
  • Next by thread: Re: Remove Indeterminate elements