How to create a matrix that contains members with specific different between each element ?
1 view (last 30 days)
Show older comments
Pradya Panyainkaew
on 13 Jan 2018
Commented: Pradya Panyainkaew
on 13 Jan 2018
if I have matrix A that contains a distance between element n and n+1 :
A = [4 7 15]
How can I construct Matrix B that shows a result as
B = [1 5 12 27]
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Elementary Math 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!