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
-
46544 Solvers
-
822 Solvers
-
How many monitors are connected ?
158 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13603 Solvers
-
There are 10 types of people in the world
1279 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!