Hello all,
i've got an 832x1 array with distances in meter, looking like that:
1
3
4
5
3
8
3
How do i add up those distances row-wise to get something like that:
1
4
8
13
16
24
27
I read through the 'sum' help but could not find the right answer. Nevertheless it should be a 1 second task..
Thanks in advance!!

 採用された回答

Stephan
Stephan 2019 年 8 月 21 日
編集済み: Stephan 2019 年 8 月 21 日

0 投票

1 件のコメント

leevejong
leevejong 2019 年 8 月 21 日
Thank you Stephan!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

質問済み:

2019 年 8 月 21 日

編集済み:

2019 年 8 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by