I want to interpolate within a matrix but can't do it.
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a matrix of SS(20x40x26) which contains values of (velocity) which are position based on depth(20 normal depths) width(40 normalized widths) and 26(time steps) I want to find the velocity for some single depth c(1,40,26) with different normalized values.
here is the code which I work upon and failed so fsr
for jj = length(time)
SSnew = interp1( (:,:,jj), SS , C(1,:,jj));
end
Thanks in advance
댓글 수: 1
채택된 답변
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!