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
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15822 Solvers
-
Project Euler: Problem 2, Sum of even Fibonacci
2924 Solvers
-
372 Solvers
-
How long do each of the stages of the rocket take to burn?
568 Solvers
-
Sum the 'edge' values of a matrix
417 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!