How to find the difference between 2 consecutive rows of a matrix?
40 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Mnr
il 26 Mar 2014
Modificato: Favour Akhetuamen
il 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 Commenti
Risposta accettata
Azzi Abdelmalek
il 26 Mar 2014
diff(A)
3 Commenti
Favour Akhetuamen
il 4 Apr 2020
Modificato: Favour Akhetuamen
il 4 Apr 2020
ev_data=readtable(table name)
diff(ev_data.[colum heading])
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Tables in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!