Borrar filtros
Borrar filtros

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

40 visualizaciones (últimos 30 días)
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.

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 26 de Mzo. de 2014
  3 comentarios
DEYIRE UMAR
DEYIRE UMAR el 24 de Sept. de 2018
What of where the data are in a row of tables in the workspace?
Favour Akhetuamen
Favour Akhetuamen el 4 de Abr. de 2020
Editada: Favour Akhetuamen el 4 de Abr. de 2020
ev_data=readtable(table name)
diff(ev_data.[colum heading])

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Tables en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

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

Start Hunting!

Translated by