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
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
52966 Solvers
-
Which values occur exactly three times?
5240 Solvers
-
922 Solvers
-
345 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
887 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!