Hi everyone! I need your help on this.

1 view (last 30 days)
Engdaw Chane
Engdaw Chane on 8 Feb 2018
Commented: Engdaw Chane on 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 Comments
Walter Roberson
Walter Roberson on 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 on 9 Feb 2018
Walter Roberson, Thank you very much!

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!