how to do the latitudinal average from a matrix?

1 vue (au cours des 30 derniers jours)
trailokya
trailokya le 1 Mai 2016
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?

Réponse acceptée

Andrei Bobrov
Andrei Bobrov le 1 Mai 2016
out = squeeze(mean(m,2))

Plus de réponses (0)

Catégories

En savoir plus sur Resizing and Reshaping Matrices dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by