Problem 45369. Sky full of stars - 02
draw an isosceles triangle with asterisks of size n. For example, for n=6
' * ' ' *** ' ' ***** ' ' ******* ' ' ********* ' '***********'
There can be two types -- top(t) or bottom(b).
Previous problem
https://www.mathworks.com/matlabcentral/cody/problems/45368-sky-full-of-stars-01
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers24
Suggested Problems
-
Create a vector whose elements depend on the previous element
643 Solvers
-
681 Solvers
-
Add a row of zeros on top of a matrix
247 Solvers
-
521 Solvers
-
If you have matrix A, create matrix B using matrix A as an "element"
115 Solvers
More from this Author165
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!