Effacer les filtres
Effacer les filtres

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

40 vues (au cours des 30 derniers jours)
Mnr
Mnr le 26 Mar 2014
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.

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 26 Mar 2014
  3 commentaires
DEYIRE UMAR
DEYIRE UMAR le 24 Sep 2018
What of where the data are in a row of tables in the workspace?
Favour Akhetuamen
Favour Akhetuamen le 4 Avr 2020
Modifié(e) : Favour Akhetuamen le 4 Avr 2020
ev_data=readtable(table name)
diff(ev_data.[colum heading])

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Tables dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by