フィルターのクリア

Average for 4d data

7 ビュー (過去 30 日間)
Nurul Ain Basirah Zakaria
Nurul Ain Basirah Zakaria 2020 年 11 月 6 日
コメント済み: Ameer Hamza 2020 年 11 月 8 日
Hi! How can I calculate the average for a 160x140x1x12 which are lat,lon,year and month. I want to calculate the average of month for one year.

採用された回答

Ameer Hamza
Ameer Hamza 2020 年 11 月 6 日
You can specify the dimension to the mean() function
M = rand(160,140,1,12);
M_new = mean(M, 4)
  6 件のコメント
Nurul Ain Basirah Zakaria
Nurul Ain Basirah Zakaria 2020 年 11 月 8 日
sir, thank you very much. excuse me for my slow brain.
Ameer Hamza
Ameer Hamza 2020 年 11 月 8 日
I am glad to be of help! :)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePolar Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by