Filter löschen
Filter löschen

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

40 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 26 Mär. 2014
  3 Kommentare
DEYIRE UMAR
DEYIRE UMAR am 24 Sep. 2018
What of where the data are in a row of tables in the workspace?
Favour Akhetuamen
Favour Akhetuamen am 4 Apr. 2020
Bearbeitet: Favour Akhetuamen am 4 Apr. 2020
ev_data=readtable(table name)
diff(ev_data.[colum heading])

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Tables finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by