How to filter a matrix with an index? #519
Answered
by
dpvanbalen
wujilingfeng
asked this question in
Q&A
-
I want to filter a matrix with index info and record it's index for other use, so how to filter a matrix with an index? |
Beta Was this translation helpful? Give feedback.
Answered by
dpvanbalen
May 5, 2022
Replies: 1 comment 1 reply
-
The easiest way is probably to first use |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
tmcdonell
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The easiest way is probably to first use
indexed
to match each element with its index, and then usefilter
on that matrix. Does this help? If not, can you elaborate a bit more on what exactly you would like this function to do?