y=x*tan(1/x)sin(x^3)在matlab怎么写是对的?x=pi:pi/50:4*pi;y=x*tan(1/x)*sin(x.^3);plot(x,y),grid on我这么打就是Run不出图形来,Error in ==> D:\MATLAB WORK\exma2.mOn line 2 ==> y=x*tan(1/x)*sin(x.^3);我错在哪了?没看出来,急…
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/24 21:55:19
y=x*tan(1/x)sin(x^3)在matlab怎么写是对的?x=pi:pi/50:4*pi;y=x*tan(1/x)*sin(x.^3);plot(x,y),gridon我这么打就是Run不出
y=x*tan(1/x)sin(x^3)在matlab怎么写是对的?x=pi:pi/50:4*pi;y=x*tan(1/x)*sin(x.^3);plot(x,y),grid on我这么打就是Run不出图形来,Error in ==> D:\MATLAB WORK\exma2.mOn line 2 ==> y=x*tan(1/x)*sin(x.^3);我错在哪了?没看出来,急…
y=x*tan(1/x)sin(x^3)在matlab怎么写是对的?
x=pi:pi/50:4*pi;
y=x*tan(1/x)*sin(x.^3);
plot(x,y),grid on
我这么打就是Run不出图形来,
Error in ==> D:\MATLAB WORK\exma2.m
On line 2 ==> y=x*tan(1/x)*sin(x.^3);
我错在哪了?没看出来,急……
y=x*tan(1/x)sin(x^3)在matlab怎么写是对的?x=pi:pi/50:4*pi;y=x*tan(1/x)*sin(x.^3);plot(x,y),grid on我这么打就是Run不出图形来,Error in ==> D:\MATLAB WORK\exma2.mOn line 2 ==> y=x*tan(1/x)*sin(x.^3);我错在哪了?没看出来,急…
>> x=pi:pi/50:4*pi;
y=x.*tan(1./x).*sin(x.^3);
plot(x,y),grid on
>>
程序给你改了下,看看,我执行时就没错了,也画出图了!