Problem 320. Maintain shape of logical-index mask
Solution Stats
Problem Comments
-
3 Comments
Jean-Marie Sainthillier
on 12 Feb 2014
More tests. A lot of solutions assume that mask has only 2 columns.
the cyclist
on 13 Feb 2014
Good suggestion. I've added a couple more tests to the suite, including one that has three columns in the logical mask.
Ben
on 30 Sep 2015
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
Dyuman Joshi
on 17 May 2021
Nice
Problem Recent Solvers65
Suggested Problems
-
143 Solvers
-
364 Solvers
-
Matrix indexing with two vectors of indices
587 Solvers
-
Calculate the area of a triangle between three points
1827 Solvers
-
690 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!