MathGroup Archive 2006

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

Search the Archive

Re: How to extract numbers from list elements with text?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg70347] Re: How to extract numbers from list elements with text?
  • From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
  • Date: Sat, 14 Oct 2006 03:06:30 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <egn9a3$1em$1@smc.vnet.net>

Hi,

your list *can't* look like this because
 {" 1 Intensity 0.23523",  "2 Intensity 0.00005", 
"3 Intensity 0.00004"}
or
 {{1,Intensity, 0.23523}, {2, Intensity, 0.00005}, 
{3, Intensity, 0.00004}}


and as long as we don't know how your list look 
like we can't help you.

 Regards
  Jens

it can only look like
"Henning Heiberg-Andersen" 
<henning.heibergandersen at gmail.com> schrieb im 
Newsbeitrag news:egn9a3$1em$1 at smc.vnet.net...
| 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: Functions inside list
  • Next by Date: Re: sample programs
  • Previous by thread: Re: How to extract numbers from list elements with text?
  • Next by thread: Re: How to extract numbers from list elements with text?