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
-
Maximum running product for a string of numbers
1545 Solvers
-
Back to basics 8 - Matrix Diagonals
839 Solvers
-
Solve the set of simultaneous linear equations
335 Solvers
-
915 Solvers
-
307 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!