Problem 985. Make a Star Pyramid
Solution Stats
Problem Comments
-
1 Comment
Ned Gulley
on 12 Oct 2012
I cleaned up the problem statement and test suite.
Solution Comments
-
1 Comment
HITESH TRIVEDI
on 17 Apr 2013
Hi, Can you try middle justified format of stars ?
-
1 Comment
Duane Hanselman
on 31 Dec 2012
this solution
char(10*tril(ones(n))+22);
works on R2012b but fails on Cody!
Problem Recent Solvers163
Suggested Problems
-
Find state names that end with the letter A
935 Solvers
-
Reverse the Words (not letters) of a String
330 Solvers
-
Back to basics 19 - character types
235 Solvers
-
Find a subset that divides the vector into equal halves
365 Solvers
-
Celsius to Fahrenheit converter
484 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!