using cell to add row
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
xxx={'Lavorato assieme n. giorni',' ',1;'Giorno Positivi e negativi ',' ',2}
if i want to add ("Lavorato xxx',' ',3) in this 3x3 cell how can i write code?
0 commentaires
Réponse acceptée
Stephen23
le 10 Nov 2023
xxx = {'Lavorato assieme n. giorni',' ',1;'Giorno Positivi e negativi ',' ',2}
xxx(3,:) = {'Lavorato xxx',' ',3}
0 commentaires
Plus de réponses (1)
Mann Baidi
le 10 Nov 2023
Hi,
I understand you would like to add rows to your cell at the end.
You can do this using the following code:
xxx={'Lavorato assieme n. giorni',' ',1;'Giorno Positivi e negativi ',' ',2}
xxx=[xxx;{'Lavorato xxx',' ',3}]
Hope this helps!
0 commentaires
Voir également
Catégories
En savoir plus sur Language Fundamentals dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!