南邮MATLAB数学实验精选(7)

2019-03-16 22:06

plot(x,y,'r'); hold on; syms x;

ezplot(x,[0,1]); ezplot(f(x),[0,1]); axis([0,1,0,1]); hold off

>> f=inline('3.56*x*(1-x)'); >> x=[]; y=[]; x(1)=0.5;

y(1)=0;x(2)=x(1);y(2)=f(x(1));

for i=1:10000 x(1+2*i)=y(2*i); x(2+2*i)=x(1+2*i); y(1+2*i)=x(1+2*i); y(2+2*i)=f(x(2+2*i)); end

plot(x,y,'r'); hold on; syms x;

ezplot(x,[0,1]); ezplot(f(x),[0,1]); axis([0,1,0,1]); hold off

>> f=inline('3.568*x*(1-x)'); >> x=[]; y=[]; x(1)=0.5;

y(1)=0;x(2)=x(1);y(2)=f(x(1)); for i=1:10000 x(1+2*i)=y(2*i); x(2+2*i)=x(1+2*i); y(1+2*i)=x(1+2*i); y(2+2*i)=f(x(2+2*i)); end

plot(x,y,'r'); hold on; syms x;

ezplot(x,[0,1]); ezplot(f(x),[0,1]); axis([0,1,0,1]); hold off

>> f=inline('3.6*x*(1-x)'); >> x=[]; y=[]; x(1)=0.5;

y(1)=0;x(2)=x(1);y(2)=f(x(1)); for i=1:10000 x(1+2*i)=y(2*i); x(2+2*i)=x(1+2*i); y(1+2*i)=x(1+2*i); y(2+2*i)=f(x(2+2*i)); end

plot(x,y,'r'); hold on;

syms x;

ezplot(x,[0,1]); ezplot(f(x),[0,1]); axis([0,1,0,1]); hold off

>> f=inline('3.84*x*(1-x)'); >> x=[]; y=[]; x(1)=0.5;

y(1)=0;x(2)=x(1);y(2)=f(x(1)); for i=1:10000 x(1+2*i)=y(2*i); x(2+2*i)=x(1+2*i); y(1+2*i)=x(1+2*i);


南邮MATLAB数学实验精选(7).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:敏捷变频器专用出线电抗器 现货供应

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: