read data of 3 dimensional matrix

1 visualización (últimos 30 días)
Poornima Posa
Poornima Posa el 18 de Oct. de 2021
Respondida: the cyclist el 18 de Oct. de 2021
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

Respuesta aceptada

the cyclist
the cyclist el 18 de Oct. de 2021
% Some pretend data
data = rand(129, 135, 365);
% Max along 3rd dimension
max3 = max(data,[],3);
% Display size of max3
size(max3)
ans = 1×2
129 135

Más respuestas (0)

Categorías

Más información sobre Geographic Plots en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by