Problem 45488. Height of a 3D Pyramid
Solution Stats
Problem Comments
-
1 Comment
Rafael S.T. Vieira
on 15 Oct 2020
I finally understood the problem by looking at other problems by the author. He is imagining an abstract pyramid made by square matrices of ones that descrease evenly until the top is reached. For instance a squared based pyramid of 19 would make height 10, because its layers are ones(19), ones(17), ones(15), ones(13), ones(11), ones(9), ones(7), ones(5), ones(3), ones(1).
Problem Recent Solvers29
Suggested Problems
-
6200 Solvers
-
Are all the three given point in the same line?
342 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
335 Solvers
-
154 Solvers
-
110 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!