Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

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

Search the Archive

Problem with Position

  • To: mathgroup at smc.vnet.net
  • Subject: [mg119635] Problem with Position
  • From: Dominic Wörner <dominic.woerner at mpi-hd.mpg.de>
  • Date: Wed, 15 Jun 2011 07:20:57 -0400 (EDT)

Hi,

I have to import data from a csv file. And I get a structure data[[rows]]={first, second,...}.
Now I want to find the rows in which, say the first entry has a specific values.
By just looking at the data there are for example entries with value 0.785398.
But when I try Flatten@Position[data[[All,1]],0.785398] or with ToString[0.785398] I just get {}

What's the problem here?

Best,
Dominic


  • Prev by Date: Re: Is there ToNumber?
  • Next by Date: Diferent colors for two surfaces, problem with PLOTSTYLE
  • Previous by thread: Mathworld packages
  • Next by thread: Re: Problem with Position