Hi everyone! I need your help on this.
Ältere Kommentare anzeigen
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
Geoff Hayes
am 8 Feb. 2018
Engdaw - please clarify what you mean by it didn't work. Did you get an error? Or was the result not what you expected? Please clarify...
Engdaw Chane
am 8 Feb. 2018
Bearbeitet: Engdaw Chane
am 8 Feb. 2018
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
am 9 Feb. 2018
Antworten (0)
Kategorien
Mehr zu Multirate Signal Processing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!