sum matrix column to get another matrix

1 回表示 (過去 30 日間)
Asliddin Komilov
Asliddin Komilov 2019 年 7 月 8 日
回答済み: Asliddin Komilov 2019 年 7 月 8 日
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

採用された回答

Stephan
Stephan 2019 年 7 月 8 日
G1 = squeeze(sum(G,2));

その他の回答 (1 件)

Asliddin Komilov
Asliddin Komilov 2019 年 7 月 8 日
thanks

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

製品


リリース

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by