Hi everyone! I need your help on this.

1 visualización (últimos 30 días)
Engdaw Chane
Engdaw Chane el 8 de Feb. de 2018
Comentada: Engdaw Chane el 9 de Feb. de 2018
I have two (three dimensional) arrays. var_1=170x176x360 var_2=194x201x360 I want to resample only the cell size of var_1 to the cell size of var_2 for all 360 months using bicubic method. I tried the following, and it didn’t work.
Var_resampled = resizem(var_1(:,:,i)),[194 201],'bicubic');
Thank you.
  4 comentarios
Walter Roberson
Walter Roberson el 8 de Feb. de 2018
Var_resampled(:,:,i) = resizem(var_1(:,:,i)),[170 176],'bicubic');
assuming that you are in for i = 1:size(var_1,3)
Engdaw Chane
Engdaw Chane el 9 de Feb. de 2018
Walter Roberson, Thank you very much!

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Matrices and Arrays en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by