How to find the difference between 2 consecutive rows of a matrix?
조회 수: 40 (최근 30일)
이전 댓글 표시
Hello all,
I have a (165475 x 2) matrix and I would like to find the difference between any two consecutive rows and store them in a new matrix. Can anybody help me? Thanks.
댓글 수: 0
채택된 답변
Azzi Abdelmalek
2014년 3월 26일
diff(A)
댓글 수: 3
Favour Akhetuamen
2020년 4월 4일
편집: Favour Akhetuamen
2020년 4월 4일
ev_data=readtable(table name)
diff(ev_data.[colum heading])
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Tables에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!