Skip to content

How to filter a matrix with an index? #519

Answered by dpvanbalen
wujilingfeng asked this question in Q&A
Discussion options

You must be logged in to vote

The easiest way is probably to first use indexed to match each element with its index, and then use filter on that matrix. Does this help? If not, can you elaborate a bit more on what exactly you would like this function to do?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wujilingfeng
Comment options

Answer selected by tmcdonell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants