summation of elements in multi dimensional matrix
1 次查看(过去 30 天)
显示 更早的评论
Hi
any body there
I have a three dimensional matrix called C. dimension of this matrix is (3,3,k).
K is changeable. I want to create matrix D like that:
D=(C(:,:,1)+C(:,:,2)+....C(:,:,K)
K is changeable. and my be more than 30.
Thankyou
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!