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

📄 sisodata.m

📁 TSP问题matlab遗传算法verygood
💻 M
字号:
% This M-file creates SISO model with its input (u) and output (y)
% It is intended to generate random input data and its output from an
% arbitrary model
%
% Author: Wesam ELSHAMY
% wesamelshamy@ieee.org
% Electrical Engineering Dept., Cairo University, Egypt

%% Plant and input parameter
u = 10*rand(300,1);
o = [1 0.1  0.2 0.3];
p = [0 0.1 0.2];

%% Generate Model
idmodel2 = idpoly(o,p)

%% Generate Data
y = sim(idmodel2,u);
y=y+randn(size(y));

%% Plot
plot(y)

⌨️ 快捷键说明

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