sum matrix column to get another matrix

1 vue (au cours des 30 derniers jours)
Asliddin Komilov
Asliddin Komilov le 8 Juil 2019
I have a matrix G 1441x365x91(MxNxL), I need another matrix D 1441x91 (MxL), whereby N must be summed. Shortly its a 1441x91 data over 365 days, and I need the 1441x91 data which is yearly sum.
thanks

Réponse acceptée

Stephan
Stephan le 8 Juil 2019
G1 = squeeze(sum(G,2));

Plus de réponses (1)

Asliddin Komilov
Asliddin Komilov le 8 Juil 2019
thanks

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Tags

Produits


Version

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by