MATLAB的几个题目帮个忙解答一下,谢谢

2024-12-17 14:38:23
推荐回答(1个)
回答1:

1.>> x=linspace(0,2*pi,100);
>>y=sin(x).*cos(5*x);
>> plot(x,y)
2.>> x=linspace(0,2*pi,100);
>>y=abs(1000*sin(4*x))+1;
>> semilogy(x,y)
3.没函数
4.>>x=0:0.01:2
>>y=0:0.01:2
>>z=sin(x)'*cos(y)
>> mesh(x,y,z)
>> surf(x,y,z)