Problem 45276. No of squares in a grid
Solution Stats
Problem Comments
-
2 Comments
Dyuman Joshi
on 24 Dec 2020
Just wondering, how can a 1x1 grid have any rectangles or square?
Christian Schröder
on 28 Feb 2023 at 12:34
Just wondering about the same thing --- I think what's meant here is that you've got a grid of MxN squares, i.e. of (M+1)x(N+1) points, rather than MxN points.
Problem Recent Solvers16
Suggested Problems
-
Determine whether a vector is monotonically increasing
16903 Solvers
-
449 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
354 Solvers
-
192 Solvers
-
53 Solvers
More from this Author165
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!