Make 3 dimensional matrix
이전 댓글 표시
Hi, I attached mathworks data including 3 variables Lat,Lon,val.
I want to make 3 dimensional matrix like below. (LatXLonXval)=(9X11X10) maybe
Can you help me? I can't understand well about making matrix

채택된 답변
추가 답변 (1개)
KSSV
2022년 11월 22일
[r,c] = size(val);
nlay = 10 ;
iwant = permute(reshape(val',[c,r/nlay,nlay]),[2,1,3]);
카테고리
도움말 센터 및 File Exchange에서 MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!