필터 지우기
필터 지우기

delaunayTriangulation Error: Inf and NaN are not permitted

조회 수: 14 (최근 30일)
Niccolò de Cesare
Niccolò de Cesare 2017년 7월 24일
댓글: sam bhai 2018년 9월 29일
Hi everybody,
i've a problem using delaunayTriangulation, i use it many times and it works fine but with a specific data vector x, y and z (in column) it generates an error:
Error using delaunayTriangulation
The coordinates of the input points must be finite values; Inf and NaN are not permitted.
And what i invoke is:
DTD=delaunayTriangulation(xD,yD,zD);
The problem is that in my vectors there aren't values equals to Inf or NaN, they are fine. I don't understand why returns this error.
  댓글 수: 2
KSSV
KSSV 2017년 7월 24일
Let us check the data......attach your (x,y,z) values...
sam bhai
sam bhai 2018년 9월 29일
Please try following command with the attached workspace file:
[X,Y] = voronoi(xo1,yo1)
which will give the error "Error using delaunay The coordinates of the input points must be finite values; Inf and NaN are not permitted.
Error in voronoi (line 89) tri = delaunay(x,y);"

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Voronoi Diagram에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by