ve do thi trong khoang gian 3d
function Ve_DoThiTrongKhongGian_3D()
clc;
x = [-5:0.5:5];
y = x;
[x,y] = meshgrid (x,y);
z = sin(sqrt(x.^2 + y.^2))./(x.^2 + y.^2);
plot3 (x,y,z)
surf (x,y,z)
xlabel ('Truc x')
ylabel ('Truc y')
zlabel ('Truc z')
title ('Do thi ham so z = sin(sqrt(x^2 + y^2)) / (x^2 + y^2)')
rotate3D on
grid on
box on
legend ('z')
hidden off
Bạn đang đọc truyện trên: Truyen247.Pro