Problem 42784. Find the number of rectangles
There is a m*n grade given. Find the number of rectangles in the grid. Remember, a square is also a rectangle.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers36
Suggested Problems
-
507 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13521 Solvers
-
Convert a Cell Array into an Array
2174 Solvers
-
5131 Solvers
-
396 Solvers
More from this Author5
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!