Plot a surface through given points

조회 수: 18 (최근 30일)
Antonio Cantiani
Antonio Cantiani 2016년 5월 22일
댓글: Walter Roberson 2016년 5월 24일
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일
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

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

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by