Want to split a 4D matrix based on the different dimensions

조회 수: 1 (최근 30일)
Davin David
Davin David 2021년 11월 16일
편집: Davin David 2021년 11월 16일
I have a 4D matrix for temperature
lon x lat x level x time (144 x 73 x 17 x 886)
I want to split it into multiple time series such that level is 1000 (first value in the level array) for each lon x lat pair.
for lon[]
for lat[]
for time[]
timeseries[i,j] = temp['lon' 'lat' 0 'time'];
i = i + 1;
end
j = j + 1;
end
end
This is the code I tried to use.
I would also like find the correlation between each time series and convert it into a complex network where the nodes are each lon x lat pair with temperature as its value and connect them based on the correlation value. I would also like to obtain the link density, clusterring coefficient and correlation path length for the network.
The data is from a netcdf file.

답변 (0개)

카테고리

Help CenterFile Exchange에서 NetCDF에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by