how to do the latitudinal average from a matrix?

1 Ansicht (letzte 30 Tage)
trailokya
trailokya am 1 Mai 2016
Beantwortet: Andrei Bobrov am 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?

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Resizing and Reshaping Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by