필터 지우기
필터 지우기

How to find the difference between 2 consecutive rows of a matrix?

조회 수: 40 (최근 30일)
Mnr
Mnr 2014년 3월 26일
편집: Favour Akhetuamen 2020년 4월 4일
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.

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2014년 3월 26일
  댓글 수: 3
DEYIRE UMAR
DEYIRE UMAR 2018년 9월 24일
What of where the data are in a row of tables in the workspace?
Favour Akhetuamen
Favour Akhetuamen 2020년 4월 4일
편집: Favour Akhetuamen 2020년 4월 4일
ev_data=readtable(table name)
diff(ev_data.[colum heading])

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Tables에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by