首页 > 解决方案 > 如何将 delaunayTriangulation 转换为八度?

问题描述

我想在 Octave 中使用GPFR(matlab 程序):GNU Octave,版本 6.2.0

error: 'delaunayTriangulation' undefined near line 47, column 47

The 'delaunayTriangulation' function is not yet implemented in Octave.

所以我改成了Octave 函数

%    DT = delaunayTriangulation(NodesCoord(:,1),NodesCoord(:,2)); 
    DT = delaunay(NodesCoord(:,1),NodesCoord(:,2)); 

但它不起作用:

Evaluation of the function in 1992 new points...
Triangulation and analysis of 1992 nodes...
error: matrix cannot be indexed with .
error: called from
    GRPF at line 49 column 14

如何将 delaunayTriangulation 转换为 octave ?

标签: matlaboctavedelaunay

解决方案


推荐阅读