Azzera filtri
Azzera filtri

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

40 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 26 Mar 2014
  3 Commenti
DEYIRE UMAR
DEYIRE UMAR il 24 Set 2018
What of where the data are in a row of tables in the workspace?
Favour Akhetuamen
Favour Akhetuamen il 4 Apr 2020
Modificato: Favour Akhetuamen il 4 Apr 2020
ev_data=readtable(table name)
diff(ev_data.[colum heading])

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Tables in Help Center e File Exchange

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!

Translated by