read data of 3 dimensional matrix
조회 수: 1 (최근 30일)
이전 댓글 표시
i have a .nc file consisting of a 3 dimensional matrix containing latitude, longitute and time(in days) of size (129, 135, 365). i want maximum value in 3rd dimension for each lat, long. please help to write the code
댓글 수: 0
채택된 답변
the cyclist
2021년 10월 18일
% Some pretend data
data = rand(129, 135, 365);
% Max along 3rd dimension
max3 = max(data,[],3);
% Display size of max3
size(max3)
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Geographic Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!