MathGroup Archive 2006

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

Search the Archive

How to extract numbers from list elements with text?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg70335] How to extract numbers from list elements with text?
  • From: "Henning Heiberg-Andersen" <henning.heibergandersen at gmail.com>
  • Date: Fri, 13 Oct 2006 01:30:38 -0400 (EDT)

Hi,

I have a list looking like this:

{ 1 Intensity 0.23523,  2 Intensity 0.00005,  3 Intensity 0.00004, ..}

Is there a command which allows extraction of only the last number appearing
in each element
of the list?. If not, how can I modify the list elements?

Best regards,

Henning Heiberg-Andersen



  • Prev by Date: Beginner--[Plz Help] I don't want to display a POLARPLOT but use SHOW Command
  • Next by Date: Re: Is it possible to "pre-evaluate" parts of pure function?
  • Previous by thread: Fwd: Beginner--[Plz Help] I don't want to display a POLARPLOT but use SHOW Command
  • Next by thread: Re: How to extract numbers from list elements with text?