help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Delaunay Triangulation Problem


From: saleem mukhtar
Subject: Re: Delaunay Triangulation Problem
Date: Wed, 17 Jan 2007 14:32:45 -0800 (PST)

Hello,

Thanks for your help so far. I have made some progress. I downloaded 
http://sourceforge.net/project/showfiles.php?group_id=2888 (octave-forge link), 
unzipped and placed it in C:\Program Files\GNU Octave 
2.1.73\usr\share\octave\2.1.73\m\octave-forge

octave:2> x = rand(1,10);
octave:3> y = rand(1,10);
octave:4> 
octave:4> T = delaunay(x,y);
error: `delaunayn' undefined near line 51 column 13
error: evaluating assignment expression near line 51, column 11
error: evaluating if command near line 50, column 5
error: evaluating if command near line 49, column 3
error: called from `delaunay' in file 
`/usr/share/octave/2.1.73/m/octave-forge/delaunay.m'
error: evaluating assignment expression near line 4, column 3

It does find delaunay.m as the file is there. But is fails to locate 
delaunayn.m. That folder does contain a delaunayn.cc which is the c++ source 
code. I presume the problem is that this needs to be compiled -- I am wondering 
if there is a place I can download the compiled version for windows.

Thanks for your help,

Saleem


----- Original Message ----
From: saleem mukhtar <address@hidden>
To: address@hidden
Sent: Monday, January 15, 2007 9:45:15 PM
Subject: Delaunay Triangulation Problem


Hello,

Just downloaded Octave for Windows version 2,1.73

          x = rand(1,10);
          y = rand(size(x));
          T = delaunay(x,y);
          X = [ x(T(:,1)); x(T(:,2)); x(T(:,3)); x(T(:,1)) ];
          Y = [ y(T(:,1)); y(T(:,2)); y(T(:,3)); y(T(:,1)) ];
          axis([0,1,0,1]);
          plot(X,Y,'b;;',x,y,'r*;;');

error: `delaunay' undefined near line 3 column 5
error: evaluating assignment expression near line 3, column 3

Any ideas on how I could fix this would be greatly appreciated. Thanks,

Saleem



____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html


 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]