INFORMATIKA II MATLAB 4. deo
INFORMATIKA II MATLAB 4. deo
INFORMATIKA II MATLAB 4. deo
- No tags were found...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Mrežastimesh(X,Y,Z)z0.40.20-0.2-0.4420y-2-4-4-2x024x=-3:0.25:3;y= -3:0.25:3;[X,Y] = meshgrid(x,y);Z = 1.8.^(-1.5*sqrt(X.^2+Y.^2)).*cos(0.5*Y).*sin(X);mesh(X,Y,Z)xlabel('x'); ylabel('y'); zlabel('z')Površinskisurf(X,Y,Z)z0.40.20-0.2-0.4420y-2-4-4-2x024x=-3:0.25:3;y= -3:0.25:3;[X,Y] = meshgrid(x,y);Z = 1.8.^(-1.5*sqrt(X.^2+Y.^2)).*cos(0.5*Y).*sin(X);surf(X,Y,Z)xlabel('x'); ylabel('y'); zlabel('z')