Problem 2173. How many rectangles in a grid ?
How many rectangles are there in an m × n grid ?
For example, if m=1 & n=2, we have 3 rectangles.
Solution Stats
Problem Comments
-
1 Comment
Georges
on 21 Jul 2014
Good one :)
Solution Comments
Show commentsProblem Recent Solvers78
Suggested Problems
-
2542 Solvers
-
16192 Solvers
-
Remove the two elements next to NaN value
695 Solvers
-
Determine if input is a perfect number
255 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13494 Solvers
More from this Author12
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!