Create a ladder pattern with n-steps and b-width.
For example,
For n=2, b=5 -- the ladder would look like -
'* *'
'* *'
'*****'
'* *'
'* *'
'*****'
'* *'
'* *'
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers20
Suggested Problems
-
Number of 1s in the Binary Representation of a Number
491 Solvers
-
Find the sum of the elements in the "second" diagonal
1211 Solvers
-
Sum the elements in either diagonal of a square matrix
223 Solvers
-
How long do each of the stages of the rocket take to burn?
570 Solvers
-
243 Solvers
More from this Author174
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!