Read specific 2D matrix from 3D matrix variable from netCDF....
이전 댓글 표시
Hi I have a netCDF file. I can access all its dimensions, variables etc in MATLAB using netCDF library. In the variables there is a variable whose size is mXnXp. Using the command:
data = netcdf.getVar(ncid,varid) ;
I can get the whole mXnXp variable, which is a 3D matrix. Here comes the problem, I dont want to access the whole variable, instead I want to access a 2D matrix mXn at a given number r = 1....p. Is there any command for this?
Thanking you all in advance
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 NetCDF Files에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!