No of squares in a grid - MATLAB Cody - MATLAB Central

Problem 45276. No of squares in a grid

Difficulty:Rate

given a m*n grid

calculate the no of possible squares & rectangles on that grid.

output: y=[no of rectangles , no of sqaures]

Solution Stats

47.92% Correct | 52.08% Incorrect
Last Solution submitted on Jun 09, 2024

Problem Comments

Solution Comments

Show comments
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
2
3

Problem Recent Solvers20

Suggested Problems

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!
Go to top of page