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 Solvers19
Suggested Problems
-
Project Euler: Problem 2, Sum of even Fibonacci
2829 Solvers
-
Construct a string from letters and counts
146 Solvers
-
143 Solvers
-
445 Solvers
-
Sum the real and imaginary parts of a complex number
145 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!