请在 下方输入 要搜索的题目:

Which program can you use to plot a 3-D surface: z=sin y cos x, x∈[0,2π], y∈[0,2π], in figure window?( )


A、x=0:pi/20:2*pi;[x,y]=meshgrid(x);z=sin(y).*cos(x);surf(x,y,z);;
B、x=0:pi/20:2*pi;[x,y]=meshgrid(x);z=sin(y).*cos(x);surface(x,y,z);gridon;view(-30,37.5);
C、fx=@(x,y)x;fy=@(x,y)y;fz=@(x,y)sin(y).*cos(x);fsurf(fx,fy,fz,[0,2*pi]);
D、fx=@(x,y)x;fy=@(x,y)y;fz=@(x,y)sin(y).*cos(x);surface(fx,fy,fz,[0,2*pi])

发布时间:2025-11-27 00:16:40
推荐参考答案 ( 由 题搜搜 官方老师解答 )
答案:x=0:pi/20:2*pi;[x,y]=meshgrid(x);z=sin(y).*cos(x);surf(x,y,z); ■x=0:pi/20:2*pi;[x,y]=meshgrid(x);z=sin(y).*cos(x);surface(x,y,z);grid on;view(-30,37.5) ■fx=@(x,y) x;fy=@(x,y) y;fz=@(x,y) sin(y).*cos(x);fsurf(fx,fy,fz,[0,2*pi])
登录 - 搜搜题库网
立即注册
注册 - 搜搜题库网
立即登录