Problem 985. Make a Star Pyramid
Solution Stats
Problem Comments
-
1 Comment
I cleaned up the problem statement and test suite.
Solution Comments
-
1 Comment
Hi, Can you try middle justified format of stars ?
-
1 Comment
this solution
char(10*tril(ones(n))+22);
works on R2012b but fails on Cody!
Problem Recent Solvers163
Suggested Problems
-
1832 Solvers
-
Who knows the last digit of pi?
599 Solvers
-
723 Solvers
-
Generate a string like abbcccddddeeeee
244 Solvers
-
424 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!