How to put sequence number in the table form?
조회 수: 10 (최근 30일)
이전 댓글 표시
Kasih Ditaningtyas Sari Pratiwi
2017년 10월 23일
댓글: Kasih Ditaningtyas Sari Pratiwi
2017년 10월 24일
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
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!