Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Extracting data from 1 table with {x,y} in anot...' topicStudent Support Forum > General > Archives > "Extracting data from 1 table with {x,y} in anot..."

Next Comment >Help | Reply To Topic
Author Comment/Response
Adam Kustka
07/27/12 10:27am

We've generated a table containing coordinates of interest and we'd like to query a data table and extract data present at those coordinates.

For example, the data table might look like

2 4 0 45
3 2 1 98
1 2 0 52
3 4 2 75

and the query list is {1,4}, {1,4}, {2,4}, {2,4}, {2,4}, {2,4}, {4,4}.

We'd like to obtain output in a new table as {45, 45, 98, 98, 98, 98, 75} (with or without brackets between all values}/

Any help would be HUGELY APPRECIATED!

URL: ,

Subject (listing for 'Extracting data from 1 table with {x,y} in anot...')
Author Date Posted
Extracting data from 1 table with {x,y} in anot... Adam Kustka 07/27/12 10:27am
Re: Extracting data from 1 table with {x,y} in ... Forum Modera... 07/28/12 2:29pm
Re: Extracting data from 1 table with {x,y} in ... Bill Simpson 07/28/12 2:47pm
Next Comment >Help | Reply To Topic