how to do the latitudinal average from a matrix?

1 view (last 30 days)
Sir, i have a matrix of three dimension say m(80*80*28)i.e. latitude*longitude*altitude...i need the latitude average so that the matrix comes to the form 80*28 i.e. latitude*altitude....how to do that please help?

Accepted Answer

Andrei Bobrov
Andrei Bobrov on 1 May 2016
out = squeeze(mean(m,2))

More Answers (0)

Categories

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