MathGroup Archive 2008

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

Search the Archive

Replace non-numeric values in a list

  • To: mathgroup at smc.vnet.net
  • Subject: [mg88745] Replace non-numeric values in a list
  • From: "Adel Elsabbagh" <aelsabbagh at gmail.com>
  • Date: Thu, 15 May 2008 07:50:03 -0400 (EDT)

Dear all,

I have a list that contains numeric and non-numeric values
list = { a, 1, 2, b, 3};
How can I replace non-numeric values with zeros?
Thanks!

-- 
Adel Elsabbagh
http://www.svlab-asu.com/aelsabbagh.html



  • Prev by Date: Re: Expression manipulation
  • Next by Date: Labeling points
  • Previous by thread: Re: Applying the Integration Function to a List Of Regions
  • Next by thread: Re: Replace non-numeric values in a list