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
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers37
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
3065 Solvers
-
Getting the absolute index from a matrix
256 Solvers
-
5827 Solvers
-
327 Solvers
-
Given a square and a circle, please decide whether the square covers more area.
1732 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!
Please change the function call in the test suite to your_fcn_name(m,n) instead of your_fcn_name(x).
Please check the test cases. x???