Successive difference in an array

11 views (last 30 days)
How to calculate difference of successive elements in an array?

Accepted Answer

Abhishek Jain
Abhishek Jain on 4 Oct 2016
Use command diff example:
y=diff(x)

More Answers (0)

Community Treasure Hunt

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

Start Hunting!