Azzera filtri
Azzera filtri

sum matrix column to get another matrix

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

Risposta accettata

Stephan
Stephan il 8 Lug 2019
G1 = squeeze(sum(G,2));

Più risposte (1)

Asliddin Komilov
Asliddin Komilov il 8 Lug 2019
thanks

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Tag

Prodotti


Release

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by