Successive difference in an array

6 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)

Categories

Find more on Mathematics in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!