Plot a surface through given points

Hello, I was wondering if it is possible to create a surface which interpolates a set of points. For example, let's say that I have the coordinates of a set of points on a surface from experimental data, is it possible to reproduce the surface with a plot?

답변 (1개)

Walter Roberson
Walter Roberson 2016년 5월 23일

1 개 추천

See scatteredInterpolant

댓글 수: 2

Antonio Cantiani
Antonio Cantiani 2016년 5월 23일
The scatteredInterpolant function create the interpolation of the points, but it does not plot the surface. Is it possible to plot the surface directly with the scatteredInterpolant function?
Walter Roberson
Walter Roberson 2016년 5월 24일
No.
You feed a grid of points to the function handle returned by scatteredInterpolant and that will return data that you can plot. There is an example at http://www.mathworks.com/help/matlab/ref/scatteredinterpolant-class.html#examples

댓글을 달려면 로그인하십시오.

카테고리

질문:

2016년 5월 22일

댓글:

2016년 5월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by