Math, asked by priya2610, 1 year ago

Difference:between the successive values and difference

Answers

Answered by Zunairah23
0

Hopefully a straightforward question, but one that I'm struggling with. I have a vector and want to create a new vector whose values are equal to the difference between successive values from the previous vector. e.g A = [1,2,3,3,0] want B = [1,1,0,-3]

What is the simplest way of doing this? Many thanks in advance. Will

Similar questions