How to add two different set values .
1 回表示 (過去 30 日間)
古いコメントを表示
I ma having two different sets having the values in the following manner
A={4} {5}{3)
I want to add it together by having
B={12}.
I tried with the command B=sumA
But i am getting error.
could anyone please help me to get it
0 件のコメント
回答 (1 件)
madhan ravi
2019 年 4 月 18 日
編集済み: madhan ravi
2019 年 4 月 18 日
A={4,5,3};
B={12};
[A{:}]+[B{:}]
6 件のコメント
参考
カテゴリ
Help Center および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!