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
-
How to find the position of an element in a vector without using the find function
2812 Solvers
-
Numbers with prime factors 2, 3 and 5.
681 Solvers
-
Calculate the area of a triangle between three points
3413 Solvers
-
350 Solvers
-
Convert to Binary Coded Decimal
151 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!