mean value of a matrix subarray

2 views (last 30 days)
Diana
Diana on 8 Jan 2014
Answered: Matt J on 8 Jan 2014
Hello!!
I have a matrix of 14000x7x3 elements.
I want to calculate the mean value of the elements in rows 4000 to 5000 of the third colum page 2.
How can I do it?
Thank you in advanced

Accepted Answer

Matt J
Matt J on 8 Jan 2014
mean(A(4000:5000,3,2))

More Answers (0)

Categories

Find more on Matrices and Arrays 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!