how to do the latitudinal average from a matrix?

1 visualizzazione (ultimi 30 giorni)
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?

Risposta accettata

Andrei Bobrov
Andrei Bobrov il 1 Mag 2016
out = squeeze(mean(m,2))

Più risposte (0)

Categorie

Scopri di più su Resizing and Reshaping Matrices in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by