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 Solvers74
Suggested Problems
-
25981 Solvers
-
Duplicate each element of a vector.
616 Solvers
-
15563 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
382 Solvers
-
Flip the vector from right to left
9494 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!