用matlab绘制图像的交点

用matlab绘制图像的交点

题目
用matlab绘制图像的交点
(1)y=2x - 0.5
(2)x=sin(3t)cos(t);y=sin(3t)sin(t);0
答案
ezplot('sin(3*t)*cos(t)','sin(3*t)*sin(t)',[0 pi]);
hold on
ezplot('y=2*x- 0.5',[-1.5 1]);
t=solve('sin(3*t)*sin(t)=2*sin(3*t)*cos(t)- 0.5');
t=real(eval(t));
x=sin(3*t).*cos(t);
y=sin(3*t).*sin(t);
for i=1:length(x)
plot(x,y,'r*')
text(x(i),y(i),['(' num2str(x(i)) ',' num2str(y(i)) ')'])
end
举一反三
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
奥巴马演讲不用看稿子.为什么中国领导演讲要看?
想找英语初三上学期的首字母填空练习……
英语翻译
1,人们染上烟瘾,最终因吸烟使自己丧命.
最新试题
热门考点

超级试练试题库

© 2017-2019 超级试练试题库,All Rights Reserved.