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 Solvers36
Suggested Problems
-
6977 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15780 Solvers
-
Get the length of a given vector
12977 Solvers
-
294 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
2140 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???