I have imported some data into Mathematica. The data will look similar to
{{0,2},{2,3},{4,3},{5,4},{8,4}}
I want to throw out all elements for which the x-values are smaller than a given value or create a new list that contains the data for which the x-values are larger than this value. I assume that Select should do the job but I don't know how.
Thanks in advance for the help.
How about
data = {{0,2},{2,3},{4,3},{5,4},{8,4}};
filtered = Select[data, First[#]>3&];
where you replace 3 with your given value?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With