Continious subtraction of a elements in an array

Hello, I have a column matrix which looks like
A=[131,131.4,131.5.......]
I want to subtract the each element of the matrix with its previous value. can anyone help me how to do this?

카테고리

도움말 센터File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

답변:

2016년 9월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by