WolfRam Mathematica : How to Select Elements in List in Mathematica

in mathematica •  5 years ago 

Learn WolfRam Mathematica : How to Select Elements in List in Mathematica

If you like this video then Do share the video in the article to your friends or in your social media accounts. You can also subscribe to the YouTube channel.

If you wish to learn through course, then check out Programming in Mathematica course on Udemy. There are very few good courses out there. So the linked here is one good course to save your time and money.

I recommend checking out Wolfram Mathematica Language book. You can get a lot of answers to your Wolfram programming questions. Plus the new edition of the book written by the owner of Wolfram can cover some of the latest topics too.

How to Select Elements in List in Mathematica Examples

There are multiple ways through which you can select the elements from list. And it can be pretty much easier if you know how to select the elements with simple functions instead of going through all the elements. So here are some of the examples that you can check out.

Pick[list[[All, 1]], UnitStep[list[[All, 2]] - 8], 1]

and

list = {{1, 11}, {2, 7}, {4, 2}, {7, 9}, {-2, 3}, {-1, 10}};

Select[list, #[[2]] > 8 &][[All, 1]]

You can check out for more of examples from the video.

Check out the video for How to Select Elements in List in Mathematica.

I recommend checking out WolfRam Mathematica Language book. Let me know if you like the video.

I hope the information here helps you. I'd appreciate if you like the video and share it with others.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!