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 Solvers38
Suggested Problems
-
Find the alphabetic word product
3470 Solvers
-
Return elements unique to either input
814 Solvers
-
Change the sign of even index entries of the reversed vector
660 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
401 Solvers
-
249 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???