> 其他 >
如何用matlab绘制 -1*x^2
如何用matlab绘制y=-1*x^2的函数图像
还有y=-1/x^2的图像
人气:286 ℃ 时间:2020-04-07 21:13:44
解答
MATLAB程序如下所示:x=-1:0.01:1;subplot(2,1,1);plot(x,-x.^2)title('y=-x^2')subplot(2,1,2);ezplot('x^2*y+1',[-1,1,-100,10]);   %即y=-1/x^2.title('y=-1/x^2')所作的...
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版