Problem 512. Spot the rectangle
Solution Stats
Problem Comments
-
2 Comments
rifat
on 15 Jun 2014
test cases imply that the question title should be "spot the square"
Ned Gulley
on 14 Jan 2015
I added a rectangular (non-square) test case. Thanks for the note.
Solution Comments
-
2 Comments
Ned Gulley
on 21 Mar 2012
This is a good answer. I changed the test suite so that you wouldn't have to deal with logical input matrices. Sorry about that!
Ned Gulley
on 20 Jan 2015
This code is referenced in the following blog post: http://blogs.mathworks.com/community/2015/01/19/robot-game-playing-in-matlab-part-2/
Problem Recent Solvers93
Suggested Problems
-
2216 Solvers
-
Set some matrix elements to zero
355 Solvers
-
293 Solvers
-
Find last zero for each column
339 Solvers
-
466 Solvers
More from this Author50
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!