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!