Average for 4d data

8 次查看(过去 30 天)
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
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 CenterFile Exchange 中查找有关 Polar Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by