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
-
Find state names that end with the letter A
948 Solvers
-
5297 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
6954 Solvers
-
251 Solvers
-
Mirror Image matrix across anti-diagonal
147 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!