How to find the difference between 2 consecutive rows of a matrix?
40 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Mnr
el 26 de Mzo. de 2014
Editada: Favour Akhetuamen
el 4 de Abr. de 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 comentarios
Respuesta aceptada
Azzi Abdelmalek
el 26 de Mzo. de 2014
diff(A)
3 comentarios
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])
Más respuestas (0)
Ver también
Categorías
Más información sobre Tables en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!