Problem 320. Maintain shape of logical-index mask
Solution Stats
Problem Comments
-
3 Comments
More tests. A lot of solutions assume that mask has only 2 columns.
Good suggestion. I've added a couple more tests to the suite, including one that has three columns in the logical mask.
Is there a way to just view the solution to this? I've been trying to do this for my own work, and this problem is the only thing I've found that purports to do what I need, but of course it doesn't actually tell me how.
Solution Comments
-
1 Comment
Nice
Problem Recent Solvers65
Suggested Problems
-
Swap the first and last columns
15507 Solvers
-
How to find the position of an element in a vector without using the find function
2561 Solvers
-
1817 Solvers
-
Detect a number and replace with two NaN's
182 Solvers
-
3567 Solvers
More from this Author23
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!