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
-
Create a cell array out of a struct
971 Solvers
-
Find a subset that divides the vector into equal halves
360 Solvers
-
4583 Solvers
-
472 Solvers
-
Number of Even Elements in Fibonacci Sequence
924 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!