How to find the difference between 2 consecutive rows of a matrix?
40 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Mnr
am 26 Mär. 2014
Bearbeitet: Favour Akhetuamen
am 4 Apr. 2020
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 Kommentare
Akzeptierte Antwort
Azzi Abdelmalek
am 26 Mär. 2014
diff(A)
3 Kommentare
Favour Akhetuamen
am 4 Apr. 2020
Bearbeitet: Favour Akhetuamen
am 4 Apr. 2020
ev_data=readtable(table name)
diff(ev_data.[colum heading])
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Tables finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!