How to put sequence number in the table form?
11 views (last 30 days)
Show older comments
Kasih Ditaningtyas Sari Pratiwi
on 23 Oct 2017
Commented: Kasih Ditaningtyas Sari Pratiwi
on 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 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Tables in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!