MATLAB Answers

selecting specific layers in the 3rd dimension of a matric

1 view (last 30 days)
Charms on 13 Aug 2019
Commented: Charms on 13 Aug 2019
Hi, I have a matrix A of size 226 x 621 x 59. May I know how do I form a new matrix of A[:,:,(43;53)] - selecting only the 43-53rd layers in the 3rd dimension, and then finding the mean of the 11 layers, eventually forming a 2d matrix of the means?
Thank you, appreciate any help given :)


Sign in to comment.

Accepted Answer

madhan ravi
madhan ravi on 13 Aug 2019

  1 Comment

Charms on 13 Aug 2019
thank you for the speedy reply! You are rlly a MVP :D

Sign in to comment.

More Answers (0)

Sign in to answer this question.