Help me with a function.

조회 수: 3 (최근 30일)
Aniruddha Das
Aniruddha Das 2020년 6월 6일
답변: the cyclist 2020년 6월 6일
I want to get a row matrix A from a parent row matrix B, where, the each component of A are the sequential sum of the components of B.
For e.g if B = [1 5 14 7 3] then A should be [1 6 20 27 30]
Please help.

채택된 답변

the cyclist
the cyclist 2020년 6월 6일

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by