Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #3105

Problem with Position

From Dominic Wörner <dominic.woerner@mpi-hd.mpg.de>
Newsgroups comp.soft-sys.math.mathematica
Subject Problem with Position
Date 2011-06-15 11:20 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <ita4ik$mac$1@smc.vnet.net> (permalink)

Show all headers | View raw


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

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Problem with Position Dominic Wörner <dominic.woerner@mpi-hd.mpg.de> - 2011-06-15 11:20 +0000

csiph-web