|
From: | Julien Bect |
Subject: | Re: Help with delaunay input validation |
Date: | Fri, 26 Sep 2014 06:59:15 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 |
Le 26/09/2014 06:22, Rik a écrit :
Can someone test the following code under Matlab? According to the documentation this should produce an error as only column vectors are acceptable input. However, Octave has accepted this in the past. x = [1 5 2; 5 6 7]; y = [5 7 8; 1 2 3]; tri = delaunay (x,y);
In Matlab R2012a : >> x = [1 5 2; 5 6 7] x = 1 5 2 5 6 7 >> y = [5 7 8; 1 2 3] y = 5 7 8 1 2 3 >> tri = delaunay (x, y) tri = 5 1 3 1 2 4 3 4 6 3 1 4 @++ Julien
[Prev in Thread] | Current Thread | [Next in Thread] |