早教吧作业答案频道 -->其他-->
matlab小问题用subplot在一个图象窗口中作下列四条曲线,并为每幅图形加上标题:1)概率曲线y=e^(-x^2)x2)四叶玫瑰线ρ=sin2θ3)叶形线x=3t/(1+t^3)y=3t^2/(1+t^3)4)摆线x=a(t-sint),y=a(1-cost),t∈[0,2π].
题目详情
matlab小问题
用subplot在一个图象窗口中作下列四条曲线,并为每幅图形加上标
题:
1) 概率曲线y=e^(-x^2)
x
2) 四叶玫瑰线 ρ=sin2θ
3) 叶形线x=3t/(1+t^3)
y=3t^2/(1+t^3)
4)摆线x=a(t-sint),y=a(1-cost),t∈[0,2π].
用subplot在一个图象窗口中作下列四条曲线,并为每幅图形加上标
题:
1) 概率曲线y=e^(-x^2)
x
2) 四叶玫瑰线 ρ=sin2θ
3) 叶形线x=3t/(1+t^3)
y=3t^2/(1+t^3)
4)摆线x=a(t-sint),y=a(1-cost),t∈[0,2π].
▼优质解答
答案和解析
>> x = -2:0.1:2;
>> y = exp(-(x.^2));
>> theta = linspace(0,2*pi);
>> rho = sin(2*theta);
>> t1 = linspace(0,30,1000);
>> x3 = 3*t1./(1+t1.^3);
>> y3 = 3*t1.^2./(1+t1.^3);
>> t2 = linspace(0,2*pi);
>> x4 = t2 - sin(t2);
>> y4 = 1 - cos(t2);
>> subplot(2,2,1);plot(x,y);title('概率曲线 y = exp(-x^2)')
>> subplot(2,2,2);polar(theta,rho),title('四叶玫瑰线 p = sin(2*t)')
>> subplot(2,2,3);plot(x3,y3);title('叶形线');
>> subplot(2,2,4);plot(x4,y4);title('摆线');
>> y = exp(-(x.^2));
>> theta = linspace(0,2*pi);
>> rho = sin(2*theta);
>> t1 = linspace(0,30,1000);
>> x3 = 3*t1./(1+t1.^3);
>> y3 = 3*t1.^2./(1+t1.^3);
>> t2 = linspace(0,2*pi);
>> x4 = t2 - sin(t2);
>> y4 = 1 - cos(t2);
>> subplot(2,2,1);plot(x,y);title('概率曲线 y = exp(-x^2)')
>> subplot(2,2,2);polar(theta,rho),title('四叶玫瑰线 p = sin(2*t)')
>> subplot(2,2,3);plot(x3,y3);title('叶形线');
>> subplot(2,2,4);plot(x4,y4);title('摆线');
看了 matlab小问题用subp...的网友还看了以下:
英语翻译1关于现代艺术,她比我知道的多得多(agreatdeal,contemporary)2印象 2020-05-13 …
根据意思写词语1.比喻排除前进道路中的困难和障碍.()2.形容气概象高山大河那样豪迈雄壮.()3. 2020-06-20 …
初2一篇英语作文,急~~~题目:Elephantareindanger要求:1.大象的外貌特征.2 2020-06-22 …
用简单的话概括出四类读书人的特点.1.好象从前即使的沙漏斗,读书像沙漏注进去,漏出来,到头来一点痕 2020-07-04 …
概率计算题~设一厂家的仪器0.7概率可直接出厂,0.3概率需调试,调试后,0.8概率可出厂,0.2概 2020-11-03 …
杨绛阅读问题1."我不能想象他是怎么回家的",为什么?2.概括故事,要求从老王的性格\命运\作者的态 2020-11-13 …
美国罗尔斯提出形式正义与实质正义大概从三点论述:1.法律与社会正义2.抽象与具体正义3.实体与程序正 2020-11-27 …
《最后一头战象》一坨问题二十六个春秋过去了,象鞍已经破旧了,仍现出凝重华贵;嘎羧披上象鞍,平添了一股 2020-12-18 …
天上的街市1.请你概括出诗人所想象的内容及想象过程?2.想象中的牛郎织女跟神话中的牛郎织女有什么不同 2020-12-30 …
《抽象水墨的核心意义》的阅读答案,1.简要概括本文的论证思路:2.抽象水墨与禅学有什么联系?3.抽象 2021-01-06 …