| Author |
Comment/Response |
George
|
05/30/10 04:49am
Hi,
I just have started working with Mathematica and stumbled over the following problem:
How can I define a function that returns true if an element of a list is greater than n. I have been trying to do this using MemberQ[list, pattern] but it wont work.
So:
If list={1,2,3,4,5} and n=3, then the function should return true as 4 and 5 are greater than 3.
The solution for this might seem trivial but again I am a beginner and really need to know how to do this.
Thanks,
George
URL: , |
|