早教吧作业答案频道 -->数学-->
matlab,在同一坐标轴中绘制下列两条曲线并用*标注两曲线的交点.(1)y=2x-0.5(2)x=sin(3t)cos(t),y=sin(3t)sin(t),0<=t<=pi.
题目详情
matlab,在同一坐标轴中绘制下列两条曲线并用*标注两曲线的交点.
(1)y=2x-0.5 (2) x=sin(3t)cos(t),y=sin(3t)sin(t),0<=t<=pi.
(1)y=2x-0.5 (2) x=sin(3t)cos(t),y=sin(3t)sin(t),0<=t<=pi.
▼优质解答
答案和解析
t=-1:0.01:3;x1=t;y1=2*x1-0.5;x2=sin(3*t).*cos(t);y2=sin(3*t).*sin(t);plot( x1,y1,x2,y2) % 绘制两条曲线hold ons=solve('y=2*x-0.5','x=sin(3*t)*cos(t)','y=sin(3*t)*sin(t)'); % 求交点plot( double(s.x) , double(s.y) ,'*'); % 用*标注两曲线的交点axis([-1,1.5,-2,1])这是2010a运行的效果:
看了 matlab,在同一坐标轴中...的网友还看了以下:
1.Y=1-二分之一cos三分之π(派)X,X属于R2.Y=3sin(2X+四分之派),X属于R3 2020-04-12 …
lingo运行小错误:too many inequality or equality ralati 2020-05-13 …
matlab 中的一个简单画图题~画出z=sin(x/2)*cos(y)的曲面图,其中x 的21个 2020-05-16 …
关于matlab中绘制3维图像中[x,y]=meshgrid(x,y);与[xx,yy]=mesh 2020-05-16 …
matlab matlabc=40r=120a=96o=20y=3(角度)f=0.2[x]=sol 2020-05-16 …
屏幕上用“*”显示0-360度的余弦函数cos(x)曲线#include #include int 2020-05-16 …
圆C:(x-a)^2+(y-b)^2=r^2的切线系(x-a)cosθ+(y-b)sinθ=r是怎 2020-06-03 …
关于matlab矩阵乘法的问题A=[cos(x)0sin(x);010;-sin(x)0cos(x 2020-06-10 …
cos(x-y)=cos(x)cos(y)+sin(x)sin(y),哎,大三了,这些都忘光了. 2020-06-11 …
球坐标系问题x=rsinθcosφy=rsinθsinφz=rcosθ道底是x=rsin(θcos 2020-06-14 …