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 Solvers33
Suggested Problems
-
Return the largest number that is adjacent to a zero
5317 Solvers
-
332 Solvers
-
1186 Solvers
-
Split a string into chunks of specified length
1667 Solvers
-
544 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!