![](/img/trans.png)
[英]Python Array append vectors and then sum the elements of the array positionwise (not elementwise)
[英]Elementwise sum of matrices in cell array
我有一個單元格數組,如下所示:
A = { [1 2;3 4] ;[5 6;7 8]};
我該如何添加
A{1,1} + A{2,1} = {[6 8;10 12]};
Matlab中沒有循環?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.