Adding cells of different size

2 ビュー (過去 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 Center および File ExchangeLogical についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by