How to find the difference between 2 consecutive rows of a matrix?
40 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Azzi Abdelmalek
2014 年 3 月 26 日
diff(A)
3 件のコメント
Favour Akhetuamen
2020 年 4 月 4 日
編集済み: Favour Akhetuamen
2020 年 4 月 4 日
ev_data=readtable(table name)
diff(ev_data.[colum heading])
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Tables についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!