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
-
Calculate the area of a triangle between three points
3577 Solvers
-
Construct an index vector from two input vectors in vectorized fashion
462 Solvers
-
Is the paranthesis sequence balanced ?
206 Solvers
-
285 Solvers
-
Create an array (n,n) where only diagonal elements are '1' and others are '0'
86 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!