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
-
Return the largest number that is adjacent to a zero
5526 Solvers
-
Convert a vector into a number
619 Solvers
-
Sum the elements in either diagonal of a square matrix
222 Solvers
-
convert matrix to single column
436 Solvers
-
229 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!