MathGroup Archive 2006

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

Search the Archive

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


hello,
To modify the list elements, please use ReplacePart Command. 
L={ 1 Intensity 0.23523, 2 Intensity 0.00005, 3 Intensity 0.00004, ..}
ReplacePart[L, 0.4 Intensity 0.00007,2].
yields:
{ 1 Intensity 0.23523, 0.4 Intensity 0.00007, 3 Intensity 0.00004, ..}
regards

Link to the forum page for this post:
http://www.mathematica-users.org/webMathematica/wiki/wiki.jsp?pageName=Special:Forum_ViewTopic&pid=14381#p14381
Posted through http://www.mathematica-users.org [[postId=14381]]



  • Prev by Date: How to solve this system of equations in Mathematica
  • Next by Date: Re: How do you open all cells?
  • 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?