フィルターのクリア

how will be interpolate 3D data

2 ビュー (過去 30 日間)
devendra
devendra 2015 年 3 月 18 日
i have 3d data for resolution 2.0*2.5 but i want to interpolate this data set on .25*.25 resolution.
for this i already written this code. please tell this code is write or wrong for this process.
x = 68.7500; y = 7;
for i = 1:120
x_new(i,1) = x;
x = x + 0.25;
end
for j = 1:128;
y_new(j,1) = y;
y = y + 0.25;
end
[x,y] = meshgrid(Y1,X1);
[x1,y1]=meshgrid(y_new,x_new);
method='linear';
for i=1:12810;
interpolate_data(: , : , i) = interp2(x,y,model_data(: , : , i),x1,y1,method);
end

回答 (0 件)

カテゴリ

Help Center および File ExchangeInterpolation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by