Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Accessing array elements conditionlly' topicStudent Support Forum > General > Archives > "Accessing array elements conditionlly"

Next Comment >Help | Reply To Topic
Author Comment/Response
John
09/06/10 9:10pm

Hi everyone,

I'm new to Mathematica so this question might have an easy answer, but I haven't found what I'm looking for searching the forum.

I have a 3x24 CSV file that I imported. I want to extract elements in column 1 where the values in column 2 are greater than some value. I've tried using Select, Extract, Part, and Position, but I haven't been successful.

If I were using Matlab, I would generate a list of element indexes for the values in column 2 and apply them to column 1, but I haven't been able to figure out how to do something like that in Mathematica.

Thanks in advance for your help.

URL: ,

Subject (listing for 'Accessing array elements conditionlly')
Author Date Posted
Accessing array elements conditionlly John 09/06/10 9:10pm
Re: Accessing array elements conditionlly John 09/06/10 11:34pm
Re: Re: Accessing array elements conditionlly Peter Pein 09/09/10 5:05pm
Next Comment >Help | Reply To Topic