第4章-一阶多智体系统一致性 -> 连续时间系统一致性 | 回到目录 | 第4章-一阶多智体系统一致性 -> 离散时间系统一致性 |
---|
文章目录
% 多智能体系统一致性的控制基础及其应用
% 第4章-一阶多智体系统一致性 -> 连续时间系统一致性
% Author: Zhao-Jichao
% Date: 2022-07-14
clear
clc
%% Laplacian Matrix
global L
L = [1 0 0 -1
-1 1 0 0
-1 -1 2 0
0 0 -1 1];
%% Initial States
X0 = [20 10 40 00];
%% Time Parameters
tBegin = 0;
tFinal = 10;
%% Calculate ODE Function
[t,out] = ode45(@ctFun, [tBegin, tFinal], X0);
%% Draw Graphs
plot(t,out(:,1), t,out(:,2), t,out(:,3), t,out(:,4), 'linewidth',1.5);
xlabel('$t (s)$','Interpreter','latex')
最后
以上就是幸福大地最近收集整理的关于第4章-一阶多智体系统一致性 -> 连续时间系统一致性【程序代码】的全部内容,更多相关第4章-一阶多智体系统一致性内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复