add lines cell matlab
古いコメントを表示
i have two edit texts,they show the vectors :
1 1 1 1 and 1 -1 1 1
-1 1 1 1 -1 1 1 -1
how can i add the two first lines together and the two secondes lines together and the result is :
2 0 2 2
0 2 2 0
採用された回答
その他の回答 (1 件)
KSSV
2016 年 11 月 24 日
0 投票
Let A and B be your matrices.
iwant = A+B;
Best programmer please read basics of matlab.
カテゴリ
ヘルプ センター および File Exchange で Cell Arrays についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!