I have a number of 3D lines in space, and i want to interpolate between the each line to get a surface from the lines. What would be the best way to go about this? I have, of course, the points for each line, as they have defined endpoints.

 채택된 답변

Walter Roberson
Walter Roberson 2015년 11월 11일

0 개 추천

The easiest way might be to submit the mass of data as if they were scattered points, and use one of the scattered data interpolants; see http://www.mathworks.com/help/matlab/scattered-data-interpolation.html
If the lines happen to have been created over a rectangular grid aligned with the X Y axes, or if they can be rotated to be in that alignment, then you could also use one of the gridded interpolants, but it might not be worth doing.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Interpolation에 대해 자세히 알아보기

질문:

2015년 11월 11일

댓글:

2015년 11월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by