you can try it !!!!!!!!
Enter the following four command lines (be careful not to make any typing errors):
>> [x y] = meshgrid(-8:0.5:8);
>> r = sqrt(x.^2 + y.^2)+eps;
>> z = sin(r)./r;
>> mesh(z);
Try surf(z) to generate a faceted (tiled) view of the surface.
surfc(z) or meshc(z) draws a 2-D contour plot under the surface.
The command :
>> surf(z), shading flat;
produces a rather nice picture by removing the grid lines. ^_^
Tidak ada komentar:
Posting Komentar