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
-
Program an exclusive OR operation with logical operators
803 Solvers
-
Join Strings with Multiple Different Delimiters
229 Solvers
-
Sum the numbers on the main diagonal
620 Solvers
-
285 Solvers
-
Back to basics - mean of corner elements of a matrix
468 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!