Problem 2403. Best Square-Shaped Grid for Subplot

If you have x number of plots, find the optimum 'm' number of rows and 'n' number of columns for subplotting where the overall figure looks square-shaped. (m*n >= x)
Example:
x = 7 --> m = 3, n = 3

Solution Stats

60.56% Correct | 39.44% Incorrect
Last Solution submitted on Feb 06, 2023

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers34

Suggested Problems

More from this Author6

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!