📄 logsim.m
字号:
% Copyright (c) 1998 The University of Texas at Austinfunction obs=logsim(pert)%Subroutine for use with the Matlab file logdemo.m %Iterates f(x) = mu * (x + pert) * (1 - (x + pert))%mu = 3.5 corresponds to a period four attractor in the logistic mapglobal cur mu;if (length(cur)==0) cur = .2; mu = 3.5;end in = pert + cur;cur = mu * in * (1 - in);%We must ensure that the system remains bounded in [0,1]. Since%the applied perturbations are small, this code is rarely used.if cur > 1 cur cur = cur - floor(cur);elseif cur < 0 cur cur = cur - floor(cur);endobs = cur;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -