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
- Follow-Ups:
- Re: Replace non-numeric values in a list
- From: Syd Geraghty <sydgeraghty@mac.com>
- Re: Replace non-numeric values in a list