⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 quadratic.m

📁 几种常见混沌时间序列matlab实现 1)chua flow 2)duffing flow 3)Rossler flow 4)Lorenz flow 5)ikeda flow 6)Mack
💻 M
字号:
%function x=quadratic(n,c,x0)
%_________________________________
%
% Simulation of the Quadratic map.
%    x'=c-x^2
%
% x is the simulated time series.
% n is the number of the simulated points.
% c is the a parameter
% x0 is the initial value for x.
%
%
clear;
close;
clc;

n=200;
c=1.95;
x0=0.1;



% Initialize
x(1,1)=c-x0^2;

% Simulate
for i=2:n
    x(i,1)=c-x(i-1,1)^2;
end

plot(x);
xlabel('n');
ylabel('x');
title('Quadratic map');

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -