Filter löschen
Filter löschen

Hi everyone! I need your help on this.

2 Ansichten (letzte 30 Tage)
Engdaw Chane
Engdaw Chane am 8 Feb. 2018
Kommentiert: Engdaw Chane am 9 Feb. 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 Kommentare
Walter Roberson
Walter Roberson am 8 Feb. 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 am 9 Feb. 2018
Walter Roberson, Thank you very much!

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by