help-octave
[Top][All Lists]
Advanced

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

griddata segmentation fault


From: Chenjie Gu
Subject: griddata segmentation fault
Date: Mon, 29 Dec 2008 13:56:19 -0800

Hi there,

The error after I run the griddata is
====================================
panic: Segmentation fault -- stopping myself...
attempting to save variables to `octave-core'...
save to `octave-core' complete
Segmentation fault
====================================

To reproduce the error, run the following script:
====================================
x = rand(1,100);
y = rand(1,100);
z = rand(1,100);
[xx yy] = meshgrid(0.2:0.1:0.8,0.2:0.1:0.8);
zz = griddata(x,y,z,xx,yy);
surf(xx,yy,zz)
====================================

I am using octave 3.0.3, I have installed qhull package (2003.1), and the above script runs correctly under matlab.
(I have tried to change "tri = delaunay (x, y);" to "tri = delaunay (x, y, "QJ");" in "octave/3.0.3/m/geometry/griddata.m", as mentioned in some posts, but it did not work.)

Any ideas to fix this problem?

Chenjie

reply via email to

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