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
-
Compute a dot product of two vectors x and y
1050 Solvers
-
527 Solvers
-
Remove the two elements next to NaN value
703 Solvers
-
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
905 Solvers
-
540 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!