How to put sequence number in the table form?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Kasih Ditaningtyas Sari Pratiwi
le 23 Oct 2017
Commenté : Kasih Ditaningtyas Sari Pratiwi
le 24 Oct 2017
Hi, I am new in matlab and have a problem in putting sequence number on the table. Could you please help me? so here is my code:
x=height(myfile) %to know the number of rows in the table
myfile{:,16}=[1:x] %to fill down column 16 with sequence number until the last row
However, it did not work well :( Thank you very much for your help.
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Tables 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!