how to add all 2d matrices in a 4D matrix???
Show older comments
i have a matrix of 10*50*24*24
i want to add all 10*50 matrices??
any help???
1 Comment
KALYAN ACHARJYA
on 21 Aug 2019
Have you looked here?
Accepted Answer
More Answers (2)
James Tursa
on 21 Aug 2019
sum(sum(your_matrix,4),3)
or
sum(reshape(your_matrix,10,50,[]),3)
1 Comment
M.Prasanna kumar
on 21 Aug 2019
Categories
Find more on AI for Signals in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!