Want to split a 4D matrix based on the different dimensions
조회 수: 1 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 NetCDF에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!