matlab菜鸟求问,这个有什么问题?t=0:0.001:3;w1=100-1/(6)^(1/2)*exp(-2*t)*sin((6)^(1/2)*t);w2=100-1/(7)^(1/2)*exp(-2*t)*sin((7)^(1/2)*t);w3=100-1/(8)^(1/2)*exp(-2*t)*sin((8)^(1/2)*t);w4=100-1/(9)^(1/2)*exp(-2*t)*sin((9)^(1/2)*t);w5=100-1/(10)^(1/2)*exp(-2*t)*sin((10)^(1/2)*t);w6=100-1/(11)^(1/2)*exp(-2*t)*sin((11)^(1/2)*t);w7=100-1/(12)^(1/2)*exp(-2*t)*sin((12)^(1/2)*t);w8=100-1/(13)^(1/2)*exp(-2*t)*sin((13)^(1/2)*t);w9=100-1/(14)^(1/2)*exp(-2*t)*sin((14)^(1/2)*t);w10=100-1/(15)^(1/2)*exp(-2*t)*sin((15)^(1/2)*t);w11=100-1/(16)^(1/2)*exp(-2*t)*sin((16)^(1/2)*t);w12=100-1/(17)^(1/2)*exp(-2*t)*sin((17)^(1/2)*t);w13=100-1/(18)^(1/2)*exp(-2*t)*sin((18)^(1/2)*t);w14=100-1/(19)^(1/2)*exp(-2*t)*sin((19)^(1/2)*t);w15=100-1/(20)^(1/2)*exp(-2*t)*sin((20)^(1/2)*t);w16=100-1/(21)^(1/2)*exp(-2*t)*sin((21)^(1/2)*t);plot(t,w1,t,w2,t,w3,t,w4,t,w5,t,w6,t,w7,t,w8,t,w9,t,w10,t,w11,t,w12,t,w13,t,w14,t,w15,t,w16)
t=0:0.001:3;w1=100-1/(6)^(1/2)*exp(-2*t).*sin((6)^(1/2)*t);w2=100-1/(7)^(1/2)*exp(-2*t).*sin((7)^(1/2)*t);w3=100-1/(8)^(1/2)*exp(-2*t).*sin((8)^(1/2)*t);w4=100-1/(9)^(1/2)*exp(-2*t).*sin((9)^(1/2)*t);w5=100-1/(10)^(1/2)*exp(-2*t).*sin((10)^(1/2)*t);w6=100-1/(11)^(1/2)*exp(-2*t).*sin((11)^(1/2)*t);w7=100-1/(12)^(1/2)*exp(-2*t).*sin((12)^(1/2)*t);w8=100-1/(13)^(1/2)*exp(-2*t).*sin((13)^(1/2)*t);w9=100-1/(14)^(1/2)*exp(-2*t).*sin((14)^(1/2)*t);w10=100-1/(15)^(1/2)*exp(-2*t).*sin((15)^(1/2)*t);w11=100-1/(16)^(1/2)*exp(-2*t).*sin((16)^(1/2)*t);w12=100-1/(17)^(1/2)*exp(-2*t).*sin((17)^(1/2)*t);w13=100-1/(18)^(1/2)*exp(-2*t).*sin((18)^(1/2)*t);w14=100-1/(19)^(1/2)*exp(-2*t).*sin((19)^(1/2)*t);w15=100-1/(20)^(1/2)*exp(-2*t).*sin((20)^(1/2)*t);w16=100-1/(21)^(1/2)*exp(-2*t).*sin((21)^(1/2)*t);plot(t,w1,t,w2,t,w3,t,w4,t,w5,t,w6,t,w7,t,w8,t,w9,t,w10,t,w11,t,w12,t,w13,t,w14,t,w15,t,w16)由于矩阵是向量,对应每个元素想乘,所以用到点乘即
(.*).标量与标量以及标量与向量之间均可以实用乘法即可.希望你能明白,祝你学习愉快啊,不明白可以继续追问哈.
为您推荐:
其他类似问题
扫描下载二维码【图文】matlab河南工业大学课件第4章(1)_2_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
评价文档:
matlab河南工业大学课件第4章(1)_2
上传于||暂无简介
大小:279.00KB
登录百度文库,专享文档复制特权,财富值每天免费拿!
你可能喜欢MATLAB程序设计1_图文_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
评价文档:
MATLAB程序设计1
上传于||暂无简介
大小:702.00KB
登录百度文库,专享文档复制特权,财富值每天免费拿!
你可能喜欢如何用matlab 求解1 / (1 + exp(1/x)) - (x^3 + 3) = 0_百度知道
如何用matlab 求解1 / (1 + exp(1/x)) - (x^3 + 3) = 0
y4f;;& syms x&>& (1 + exp(1/ y4f = ')竟然得出ans =1/1 /x)) - (x^3 + 3) = 0'&; maple('solve', 'x'RootOf(3*exp(_Z)*_Z^3+exp(_Z)+2*_Z^3+1)这是哪里错了;>
提问者采纳
& syms x:“error_& fzero('1 /; (1 + exp(1/x)) - (x^3 + 3)',1)ans =
-1.3238你错的原因是:>
其他类似问题
为您推荐:
其他1条回答
有什么问题吗?详见Maple的求解命令。1/没错啊,Maple使用Rootof格式表示的根
exp的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁matlab,简单的程序求改错_百度知道
matlab,简单的程序求改错
;alphat}cos{\.2;rightarrow';fontsize{6}';omegat}'Markersize'\cell_string{3}='/,','.*cos(0;\.3'r-',1;cell_string{2}=',3)axis([)text(13;)fontsize{14}\.3*t);fontname{隶书}镇定时间'.7*t);fontsize{14}\LineWidth'\uparrow'omega}=0,'tt=t(abs(y-1)&\.7'it y=1-e^{-\fontsize{12}{\num2str(ts)].1.05);cell_string{1}='bo'fontsize{16}\,'\Xtick'.95,inf])set(gca,0;0,[0,cell_string)xlabel('bfy\\rmt_{s}= '.5;\,'bft\,1;fontsize{14}\alpha}=0,max(y)])grid ontitle(',1;plot(t;ts=max(tt);;)ylabel(':100)/.05,6*pi],1;)text(13,6*fontsize{12}\.6,0,[2*pi,0;rightarrow't=6*pi*(0clf,4*fontsize{12}{\,y;y=1-exp(0;cell_string{4}=[',10).85;\plot(ts.5;Ytick',',','.95;100;text(ts
提问者采纳
y;cell_string{2}='\.95.3*t)。text(ts,6*alphat}cos{\.2;cell_string{1}='rightarrow'\cell_string{4}=[',10);omegat}';;fontsize{6}'/,'.7*t);\.3',',1;fontsize{16}\,0;)text(13;).*cos(0;cell_string{3}='tt=t(abs(y-1)&fontsize{14}\,3)axis([-fontname{隶书}镇定时间';omega}=0;;0;fontsize{12}\.7'it y=1-e^{-\fontsize{12}{\%此处修改.1;ts=max(tt);\;,'Markersize'\Xtick','.set(gca,.05),[0.85;bfy\\,num2str(ts)].5;rmt_{s}= ','bft\,1;fontsize{14}\alpha}=0,max(y)])grid ontitle('\,1,'plot(t;LineWidth')ylabel(':100)/.05,6*pi],1;)text(13.6;uparrow',左边的inf应改为-inf或者按你的要求改小于6*pi,inf])%此处修改,[2*pi,0;rightarrow't=6*pi*(0clf,4*fontsize{12}{\r-'y=1-exp(0;fontsize{14}\hold off,0,cell_string)xlabel('plot(ts.5;Ytick','\,'bo'.95;100,num2str(ts)前应有分隔的
提问者评价
其他类似问题
为您推荐:
matlab的相关知识
其他1条回答
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁}