I need to create one vector from performing subtraction within another.
1 view (last 30 days)
Show older comments
Darreon Schwartz
on 18 Sep 2016
Commented: Darreon Schwartz
on 18 Sep 2016
I need to take a vector X1 X2 X3 X4 X5 and create a new vector, 1 unit shorter: (X1-X2) (X2-X3) (X3-X4) (X4-X5) and so on. I'm very new to matlab and any help would be appreciated.
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Mathematics and Optimization 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!