Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Student Support Forum
-----
Student Support Forum: 'Tables: use values from A to get val. from B' topicStudent Support Forum > General > Archives > "Tables: use values from A to get val. from B"

Next Comment >Help | Reply To Topic | Post New Topic
Author Comment/Response
Thepillow
05/11/08 12:37pm

I have two tables, let's call them A and B. What i want is than when a value in A is bigger than a certain threshold, the corresponding value of table B is retrieved and put in a new table C.
For example:
A={1,0,1,0,0,1}
B={2,3,4,6,9,134}
Then i determine the threshold to be 0, so from the places in A that are 1, i need the corresponding value in C. So:
C={2,4,134}

Thanks in advance!

URL: ,

Subject (listing for 'Tables: use values from A to get val. from B')
Author Date Posted
Tables: use values from A to get val. from B Thepillow 05/11/08 12:37pm
Re: Tables: use values from A to get val. from B Xavier 05/12/08 07:02am
Re: Tables: use values from A to get val. from B yehuda ben-s... 05/13/08 4:12pm
Next Comment >Help | Reply To Topic | Post New Topic





 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy