interpolation of 3d matrix in only one dimention
조회 수: 4 (최근 30일)
이전 댓글 표시
i have 4X49X49 matrix B, i want to use interpolate the first dimantion with spline interpolation to get 49X49X49 matrix.
from doing that:
A=interp(B,4,'spline')
X=A(:,1:16:end,:);
X2=X(:,:,1:16:end);
i got the matrix i want but the next thing that i want to do is to interpolate using 'linear' in Y direction so i want to learn how i can do different interpolations to different dimantions.
thanks
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!