摘要:
太难了 (1)模糊推理系统 阅读全文
摘要:
越来越难了 ###(1)没处理好 >> syms x X b k positive; >> p(x)=x*exp(-x^2/2/b^2)/b^2;P(x)=int(p(x),x,0,X); >> Ex=int(x*p(x),x,0,inf);Dx=int((x-Ex)^2*p(x),x,0,inf) 阅读全文
摘要:
(1) >> t=0:0.12:1;y=t.^2*exp(-5*t).*sin(t); >> t1=0:0.02:1;y0=t1.^2.*exp(-5*t1).*sin(t1);y1=interp1(t,y,t1,'spline'); >> plot(t1,y1,':',t,y,'o',t1,y0) 阅读全文
摘要:
(1)原例题以及练习 >> syms t;u=sin(t);uu=diff(u)+3*u; >> y=dsolve(['D5y+5*D4y+12*D3y+16*D2y+12*Dy+4*y=',char(uu)],'y(0)=0','Dy(0)=0','D2y(0)=0','D3y(0)=0','D4 阅读全文