Interpolating many matrices without for loop
이전 댓글 표시
Hi everybody, well I want to interpolate a 3D matrix composed of 700x2x60 values. I want to interpolate with respect to an array of 700 values. But i want an interpolation only 1 dimension, for example
if i had:
3 1
6 2
9 3
60 times, with different values, i want to interpolate with respect to 1.5, 2.5 and 3 I would get 4.5 7.5 and 10.5, 60 times and with the values relative to each one of the 60 matrices.
So in essence its like interp1 but 60 times. And I can't manage to do it without a for loop which is time consuming. and i need to do it over 15000 times.
thank you for your answers
댓글 수: 5
Fangjun Jiang
2011년 11월 17일
Without proper {}Code format, it's actually very hard to understand your question.
j_solar
2011년 11월 17일
j_solar
2011년 11월 17일
Fangjun Jiang
2011년 11월 17일
You can edit your question and apply {}Code format to make it look right. I did only the {}Code formatting part but didn't change any of your text.
Fangjun Jiang
2011년 11월 17일
Look at all the buttons above your question text box when you post or edit your question.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!