各位MATLAB高手,请问[]在plot的作用什么?谢谢(程序如下)clearclcsyms x;limit((exp(x^3)-1)/(1-cos(sqrt(x-sin(x)))),x,0,'right')x=-.1:0.001:0.1;y=(exp(x.^3)-1)./(1-cos(sqrt(x-sin(x))));h=plot(x,y,'-',[0],[12],'o
来源:学生作业帮助网 编辑:作业帮 时间:2024/07/30 12:54:59
![各位MATLAB高手,请问[]在plot的作用什么?谢谢(程序如下)clearclcsyms x;limit((exp(x^3)-1)/(1-cos(sqrt(x-sin(x)))),x,0,'right')x=-.1:0.001:0.1;y=(exp(x.^3)-1)./(1-cos(sqrt(x-sin(x))));h=plot(x,y,'-',[0],[12],'o](/uploads/image/z/3934127-47-7.jpg?t=%E5%90%84%E4%BD%8DMATLAB%E9%AB%98%E6%89%8B%2C%E8%AF%B7%E9%97%AE%5B%5D%E5%9C%A8plot%E7%9A%84%E4%BD%9C%E7%94%A8%E4%BB%80%E4%B9%88%3F%E8%B0%A2%E8%B0%A2%EF%BC%88%E7%A8%8B%E5%BA%8F%E5%A6%82%E4%B8%8B%EF%BC%89clearclcsyms+x%3Blimit%28%28exp%28x%5E3%29-1%29%2F%281-cos%28sqrt%28x-sin%28x%29%29%29%29%2Cx%2C0%2C%26%2339%3Bright%26%2339%3B%29x%3D-.1%3A0.001%3A0.1%3By%3D%28exp%28x.%5E3%29-1%29.%2F%281-cos%28sqrt%28x-sin%28x%29%29%29%29%3Bh%3Dplot%28x%2Cy%2C%26%2339%3B-%26%2339%3B%2C%5B0%5D%2C%5B12%5D%2C%26%2339%3Bo%26%233)
各位MATLAB高手,请问[]在plot的作用什么?谢谢(程序如下)clearclcsyms x;limit((exp(x^3)-1)/(1-cos(sqrt(x-sin(x)))),x,0,'right')x=-.1:0.001:0.1;y=(exp(x.^3)-1)./(1-cos(sqrt(x-sin(x))));h=plot(x,y,'-',[0],[12],'o
各位MATLAB高手,请问[]在plot的作用什么?谢谢(程序如下)
clear
clc
syms x;
limit((exp(x^3)-1)/(1-cos(sqrt(x-sin(x)))),x,0,'right')
x=-.1:0.001:0.1;
y=(exp(x.^3)-1)./(1-cos(sqrt(x-sin(x))));
h=plot(x,y,'-',[0],[12],'o')
各位MATLAB高手,请问[]在plot的作用什么?谢谢(程序如下)clearclcsyms x;limit((exp(x^3)-1)/(1-cos(sqrt(x-sin(x)))),x,0,'right')x=-.1:0.001:0.1;y=(exp(x.^3)-1)./(1-cos(sqrt(x-sin(x))));h=plot(x,y,'-',[0],[12],'o
[0],[12]只是要在曲线上标出(0,12)这个点罢了.
plot(x,y,'-',[0],[12],'o') 这句的意思是,
首先根据x和y向量画出曲线1,线型为实线;
再根据向量[0]和[12]画出曲线2,但是这里向量长度为1,所以只画出了一个点,该点的点型为'o',也就是用空心圆表示点