필터 지우기
필터 지우기

Adding cells of different size

조회 수: 1 (최근 30일)
cniv_we
cniv_we 2019년 4월 8일
댓글: cniv_we 2019년 4월 8일
Hi,
I have 2 different cells like following:
Cell_1 = {C1 C2 C3}
Cell_2 = {C4 C5}
How do I get the sum of each elements in each cell like this:
Cell_3 = {C1+C4 C1+C5 C2+C4 C2+C5 C3+C5} ?
Is there a simple MATLAB command to do so?
  댓글 수: 7
madhan ravi
madhan ravi 2019년 4월 8일
What happened to C3+C4 ???
cniv_we
cniv_we 2019년 4월 8일
I forgot that yes. There should be C3+C4.
But Bob has already suggested to split into 3D array. It worked. Thanks.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by