How to make a diamond with asterisks?
Afficher commentaires plus anciens
Hi can you help me doing this? So far I have this but I'm not sure what to do next or when to write the loops.
2(n-1)+1 %number of x
n=row
floor(col/2-(n-1)) %number of blanks
floor (row/2-(n-1))

1 commentaire
Rik
le 30 Avr 2019
The issues with this question are the same as with your other question. Because you don't explain your goal it is hard to help you.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Loops and Conditional Statements dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!