亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? lorenzgui.m

?? 《MATLAB數值計算》最新版本的全部代碼Numerical.Computing.With.MATLAB
?? M
字號:
function lorenzgui
%LORENZGUI   Plot the orbit around the Lorenz chaotic attractor.
%   This function animates the integration of the three coupled
%   nonlinear differential equations that define the Lorenz Attractor,
%   a chaotic system first described by Edward Lorenz of MIT.
%   As the integration proceeds you will see a point moving in
%   an orbit in 3-D space known as a strange attractor.
%   The orbit ranges around two different critical points, or attractors.
%   The orbit is bounded, but may not be periodic and or convergent.
%
%   The mouse and arrow keys change the 3-D viewpoint.  Uicontrols
%   provide "pause", "resume", "stop", "restart", "clear", and "close".
%
%   A listbox provides a choice among five values of the parameter rho.
%   The first value, 28, is the most common and produces the chaotic
%   behavior.  The other four values values produce periodic behaviors
%   of different complexities.  A change in rho becomes effective only
%   after a "stop" and "restart".
%
%   Reference: Colin Sparrow, "The Lorenz Equations: Bifurcations,
%   Chaos, and Strange Attractors", Springer-Verlag, 1982.

if ~isequal(get(gcf,'name'),'Lorenz Gui')
   
   % This is first entry, just initialize the figure window.

   rhos = [28 99.65 100.5 160 350];
   shg
   clf reset
   p = get(gcf,'pos');
   set(gcf,'color','black','doublebuff','on','name','Lorenz Gui', ...
      'menu','none','numbertitle','off', ...
      'pos',[p(1) p(2)-(p(3)-p(4))/2 p(3) p(3)])

   % Callback to erase comet by jiggling figure position

   klear = ['set(gcf,''pos'',get(gcf,''pos'')+[0 0 0 1]), drawnow,' ...
            'set(gcf,''pos'',get(gcf,''pos'')-[0 0 0 1]), drawnow'];

   % Uicontrols

   paws = uicontrol('style','toggle','string','start', ...
      'units','norm','pos',[.02 .02 .10 .04],'value',0, ...
      'callback','lorenzgui');
   stop = uicontrol('style','toggle','string','close', ...
      'units','norm','pos',[.14 .02 .10 .04],'value',0, ...
      'callback','cameratoolbar(''close''), close(gcf)');
   clear = uicontrol('style','push','string','clear', ...
      'units','norm','pos',[.26 .02 .10 .04], ...
      'callback',klear);
   rhostr = sprintf('%6.2f|',rhos);
   rhopick = uicontrol('style','listbox','tag','rhopick', ...
      'units','norm','pos',[.82 .02 .14 .14], ...
      'string',rhostr(1:end-1),'userdata',rhos,'value',1);

else

   % The differential equation is ydot = A(y)*y
   % With this value of eta, A is singular.
   % The eta's in A will be replaced by y(2) during the integration.

   rhopick = findobj('tag','rhopick');
   rhos = get(rhopick,'userdata');
   rho = rhos(get(rhopick,'value'));
   sigma = 10;
   beta = 8/3;
   eta = sqrt(beta*(rho-1));
   A = [ -beta    0     eta
            0  -sigma   sigma 
         -eta   rho    -1  ];
   
   % The critical points are the null vectors of A.
   % The initial value of y(t) is near one of the critical points.
   
   yc = [rho-1; eta; eta];
   y0 = yc + [0; 0; 3];
   
   % Integrate forever, or until the stop button is toggled.
   
   tspan = [0 Inf];
   opts = odeset('reltol',1.e-6,'outputfcn',@lorenzplot,'refine',4);
   ode45(@lorenzeqn, tspan, y0, opts, A);

end


% ------------------------------

function ydot = lorenzeqn(t,y,A)
%LORENZEQN  Equation of the Lorenz chaotic attractor.
%   ydot = lorenzeqn(t,y,A).
%   The differential equation is written in almost linear form.
%      ydot = A*y
%   where
%      A = [ -beta    0     y(2)
%               0  -sigma   sigma 
%            -y(2)   rho    -1  ];

A(1,3) = y(2);
A(3,1) = -y(2);
ydot = A*y;


% ------------------------------

function fin = lorenzplot(t,y,job,A)
%LORENZPLOT   Plot the orbit of the Lorenz chaotic attractor.

persistent Y

if isequal(job,'init')

   % Initialize axis and comet, R = axis settings, L = length of comet.

   rho = A(3,2);
   switch rho
      case 28,    R = [  5  45  -20  20  -25  25];  L = 100;
      case 99.65, R = [ 50 150  -35  35  -60  60];  L = 240;
      case 100.5, R = [ 50 150  -35  35  -60  60];  L = 120;
      case 160,   R = [100 220  -40  40  -75  75];  L = 165;
      case 350,   R = [285 435  -55  55 -105 105];  L =  80;
      otherwise,  R = [100 250  -50  50 -100 100];  L = 150;
   end
   set(gcf,'pos',get(gcf,'pos')+[0 0 0 1])
   drawnow
   set(gcf,'pos',get(gcf,'pos')-[0 0 0 1])
   drawnow
   if get(gca,'userdata') ~= rho, delete(gca), end
   set(gca,'color','black','pos',[.03 .05 .93 .95],'userdata',rho)
   axis(R);
   axis off

   comet(1) = line(y(1),y(2),y(3),'linestyle','none','marker','.', ...
      'erasemode','xor','markersize',25);
   comet(2) = line(NaN,NaN,NaN,'color','y','erasemode','none');
   comet(3) = line(NaN,NaN,NaN,'color','y','erasemode','none');
   Y = y(:,ones(L,1));

   uics = flipud(get(gcf,'children'));
   paws = uics(1);
   stop = uics(2);
   set(paws,'string','pause','callback','','value',0);
   set(stop,'string','stop','callback','','value',0);

   beta = -A(1,1);
   eta = sqrt(beta*(rho-1));
   yc = [rho-1; eta; eta];
   line(yc(1),yc(2),yc(3),'linestyle','none','marker','o','color','g')
   line(yc(1),-yc(2),-yc(3),'linestyle','none','marker','o','color','g')

   ax = [R(2) R(1) R(1) R(1) R(1)];
   ay = [R(3) R(3) R(4) R(3) R(3)];
   az = [R(5) R(5) R(5) R(5) R(6)];
   p = .9;
   q = 1-p;
   grey = [.4 .4 .4];
   line(ax,ay,az,'color',grey);
   text(p*R(1)+q*R(2),R(3),p*R(5),sprintf('%3.0f',R(1)),'color',grey)
   text(q*R(1)+p*R(2),R(3),p*R(5),sprintf('%3.0f',R(2)),'color',grey)
   text(R(1),p*R(3)+q*R(4),p*R(5),sprintf('%3.0f',R(3)),'color',grey)
   text(R(1),q*R(3)+p*R(4),p*R(5),sprintf('%3.0f',R(4)),'color',grey)
   text(R(1),R(3),p*R(5)+q*R(6),sprintf('%3.0f',R(5)),'color',grey)
   text(R(1),R(3),q*R(5)+p*R(6),sprintf('%3.0f',R(6)),'color',grey)
   fin = 0;

   cameratoolbar('setmode','orbit')
   uicontrol('style','text','units','norm','pos',[.38 .02 .34 .04], ...
      'foreground','white','background','black','fontangle','italic', ...
      'string','Click on axis to rotate view')

elseif isequal(job,'done')

   fin = 1;

else

   % Update comet

   L = size(y,2);
   Y(:,end+1:end+L) = y;
   comet = flipud(get(gca,'children'));
   set(comet(1),'xdata',Y(1,end),'ydata',Y(2,end),'zdata',Y(3,end));
   set(comet(2),'xdata',Y(1,2:end),'ydata',Y(2,2:end),'zdata',Y(3,2:end))
   set(comet(3),'xdata',Y(1,1:2),'ydata',Y(2,1:2),'zdata',Y(3,1:2))
   Y(:,1:L) = [];
   drawnow;

   % Pause and restart

   uics = flipud(get(gcf,'children'));
   paws = uics(1);
   stop = uics(2);
   rhopick = uics(4);
   rho = A(3,2);
   while get(paws,'value')==1 & get(stop,'value')==0
      set(paws,'string','resume');
      drawnow;
   end
   set(paws,'string','pause')
   fin = get(stop,'value') | get(rhopick,'value')==rho;
   if fin
      set(paws,'value',0,'string','restart','callback','lorenzgui')
      set(stop,'value',0,'string','close', ...
         'callback','cameratoolbar(''close''), close(gcf)')
   end
end

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品资源网| 欧美一级一区二区| 亚洲色图欧美激情| 91香蕉视频黄| 亚洲综合色视频| 欧美一区二区免费观在线| 日本成人在线电影网| 精品国产青草久久久久福利| 国产精品一级黄| 亚洲同性gay激情无套| 99精品欧美一区二区三区小说| 亚洲欧美日韩综合aⅴ视频| 欧美三片在线视频观看| 免费一级欧美片在线观看| 精品国产伦一区二区三区免费| 国产很黄免费观看久久| 亚洲欧美日韩综合aⅴ视频| 欧美日韩aaa| 国产成人精品影院| 一区二区三区日本| 日韩精品一区二区三区视频播放| 国产成人鲁色资源国产91色综| 亚洲三级在线免费| 日韩欧美你懂的| 成人av电影在线观看| 午夜精品一区二区三区免费视频| 精品久久免费看| 91美女片黄在线| 久久草av在线| 中文字幕一区二区三区不卡在线| 欧美日韩高清一区二区三区| 夫妻av一区二区| 天堂一区二区在线| 中文字幕一区日韩精品欧美| 在线电影国产精品| 成人手机电影网| 亚洲三级理论片| 97aⅴ精品视频一二三区| 亚洲国产cao| 久久精品亚洲精品国产欧美kt∨| 国产精品不卡一区二区三区| 欧美精品乱码久久久久久| 粗大黑人巨茎大战欧美成人| 美女视频第一区二区三区免费观看网站| 国产欧美日韩一区二区三区在线观看 | 成人动漫中文字幕| 蜜臀久久99精品久久久久宅男| 最新国产の精品合集bt伙计| 久久色中文字幕| 欧美一级夜夜爽| 在线观看一区二区视频| 成人动漫一区二区三区| 麻豆成人久久精品二区三区小说| 一区二区三区国产精品| 国产精品久久毛片a| 精品99一区二区三区| 8x8x8国产精品| 欧美精品在线一区二区三区| 一本色道亚洲精品aⅴ| 成人深夜在线观看| 国内精品自线一区二区三区视频| 日韩精品久久理论片| 最新久久zyz资源站| 久久婷婷国产综合国色天香| 欧美日韩亚洲综合在线 欧美亚洲特黄一级 | 国产精品女人毛片| 久久一日本道色综合| 久久综合中文字幕| 日韩欧美一二区| 日韩欧美一区中文| 国产精品理伦片| 久久久影院官网| 久久久综合网站| 26uuu国产电影一区二区| 精品国产青草久久久久福利| 日韩精品一区二区在线| 日韩欧美三级在线| 欧美v日韩v国产v| 精品奇米国产一区二区三区| 日韩视频一区在线观看| 日韩视频一区二区在线观看| 日韩精品专区在线影院重磅| 日韩一区二区三区视频在线观看| 日韩一区二区三区在线| wwww国产精品欧美| 久久久99久久| 国产精品电影一区二区三区| 亚洲品质自拍视频| 亚洲福利一二三区| 毛片基地黄久久久久久天堂| 精品一区二区三区香蕉蜜桃 | 日韩黄色在线观看| 青青草97国产精品免费观看无弹窗版| 青青青伊人色综合久久| 狠狠色丁香久久婷婷综| 波多野结衣一区二区三区| 91在线视频观看| 在线电影一区二区三区| 精品国产在天天线2019| 亚洲欧洲精品天堂一级| 亚洲一区二区三区精品在线| 日韩国产成人精品| 国产jizzjizz一区二区| 91欧美一区二区| 欧美日本在线视频| 欧美一级精品在线| 国产精品色呦呦| 一个色综合网站| 日韩—二三区免费观看av| 精品一区二区三区久久| 成人丝袜视频网| 7777精品伊人久久久大香线蕉完整版 | 久久久久青草大香线综合精品| 日韩成人免费电影| 国产精品亚洲а∨天堂免在线| 99视频一区二区| 欧美一区二区三级| 亚洲天堂av一区| 久久99这里只有精品| 91在线观看污| 精品精品国产高清一毛片一天堂| 国产精品成人网| 精品写真视频在线观看| 99精品视频在线观看免费| 日韩精品一区二区三区老鸭窝| 亚洲男人电影天堂| 国产一区不卡视频| 欧美剧情片在线观看| 国产精品免费观看视频| 琪琪久久久久日韩精品| 91免费视频观看| 精品久久国产97色综合| 亚洲午夜私人影院| 972aa.com艺术欧美| 精品国产成人在线影院| 亚洲高清免费视频| 91女神在线视频| 中文字幕av不卡| 极品美女销魂一区二区三区| 欧美日韩精品二区第二页| 18成人在线观看| 成人精品一区二区三区四区 | 中文字幕av不卡| 国产在线视频一区二区| 欧美久久一二三四区| 亚洲精品成人a在线观看| 高清国产一区二区| 精品国产一区二区三区久久久蜜月| 亚洲一级电影视频| 色综合久久久久久久| 国产精品免费人成网站| 国产精品主播直播| 亚洲精品一区二区精华| 免费成人小视频| 国产精品一区免费在线观看| 日韩一级免费观看| 91国产免费看| 国产精品久久午夜夜伦鲁鲁| 狠狠色狠狠色合久久伊人| 欧美一区二区性放荡片| 天天综合天天做天天综合| 欧美在线播放高清精品| 亚洲乱码中文字幕| 91视频.com| 亚洲日本va在线观看| 91片在线免费观看| 亚洲欧美视频在线观看| 在线欧美日韩精品| 亚洲国产另类av| 欧美日韩国产小视频在线观看| 亚洲已满18点击进入久久| 欧美又粗又大又爽| 亚洲一本大道在线| 欧美老肥妇做.爰bbww视频| 日韩成人午夜精品| 欧美mv日韩mv国产| 粉嫩绯色av一区二区在线观看| 国产精品视频九色porn| 色综合久久久久综合体桃花网| 亚洲视频中文字幕| 欧美伊人久久久久久午夜久久久久| 亚洲综合色网站| 日韩亚洲欧美一区二区三区| 精品无人码麻豆乱码1区2区| 日韩电影免费在线观看网站| 亚洲免费在线观看| 一区在线观看视频| 亚洲精品国产a| 成人一级黄色片| 一区二区三区在线影院| 69精品人人人人| 国产一区福利在线| 国产精品不卡在线| 欧美人妇做爰xxxⅹ性高电影| 捆绑调教美女网站视频一区| 久久久久成人黄色影片| 色婷婷精品久久二区二区蜜臀av| 日韩主播视频在线| 日本一区二区动态图| 欧美色视频在线观看|