Maximum size for mesh()

View: New views
1 Messages — Rating Filter:   Alert me  

Maximum size for mesh()

by asfarley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi everyone, is there a maximum meshgrid size for the mesh() function? These commands produce the expected output:

x = [0:0.1:5];
y = [0:0.1:10];
[xx,yy] = meshgrid(x,y);
z = sin(xx).*sin(yy);
mesh(x,y,z);

But these commands either give no results, or cause octave to hang:

x = [0:0.1:50];
y = [0:0.1:100];
[xx,yy] = meshgrid(x,y);
z = sin(xx).*sin(yy);
mesh(x,y,z);