How to receive the inverse of the diff(x) array calculation ?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
For example ,if x=[a,b,c,d] and diff(x)=[b-a,c-b,d-c],
is there any possible way for [a-b,b-c,c-d].
0 Kommentare
Akzeptierte Antwort
Torsten
am 15 Nov. 2022
x = [4 6 9 13];
s1 = -diff(x)
s2 = [x(1)-x(2),x(2)-x(3),x(3)-x(4)]
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

