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
-
Return the 3n+1 sequence for n
8509 Solvers
-
Back to basics 12 - Input Arguments
624 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
560 Solvers
-
434 Solvers
-
404 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!