Interpolating between lines in 3D

1 visualización (últimos 30 días)
Andrew Wiebe
Andrew Wiebe el 11 de Nov. de 2015
Comentada: Andrew Wiebe el 11 de Nov. de 2015
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.

Respuesta aceptada

Walter Roberson
Walter Roberson el 11 de Nov. de 2015
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.

Más respuestas (0)

Categorías

Más información sobre Interpolation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by