例えば C=A(3,3,3)+B(3,3,3) とうつと C(3,3,1)= C(3,3,2)= C(3,3,3)= というように羅列されます。この羅列がされない方法を知りたいです。
三次元行列の足し算について
4 views (last 30 days)
Show older comments
三次元行列の足し算についてお伺いしたいです。私は(2048,2048,300)でできた行列A,Bの要素の和を求めたいです。(A+Bをしました) その際に処理の終了後、(2048,2048,1),(2048,2048,2),(2048,2048,3)......のように完成した行列が画面上に羅列されました。大量の要素を有しているのでこの行列を羅列する作業を省きたいです。どうしたらよいですか?forを使うのがよいですか?
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!