Calculate Mean /Average of 4D data

1 view (last 30 days)
pranto saha
pranto saha on 14 Mar 2023
Edited: Jan on 14 Mar 2023
I have a 4D data of speed. Size is (301x246x48x119).followed by (latitude, lontitude, height, month). Now I want to calculate Mean from this data.
1st I want to mean speed to remove latitude and lontitude. And after that I want to separate the data by monthwise. After that I will mean data for month.(Here 12 month is used circularly)
Can you please Help me how can i do this?
My final target is to find 12(month) dataset where each dataset contain one speed for every height.
  2 Comments
Jan
Jan on 14 Mar 2023
Edited: Jan on 14 Mar 2023
You forgot the step, in which you calculate the speed from latitude and longitude.
Adam Danz
Adam Danz on 14 Mar 2023
> each dataset contain one speed for every height
Could you provide your data? What if heights are [4.5, 4.51, 4.511,...] is that one height of 3 heights?

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!