affine.m

来自「一个matlab的将军模型」· M 代码 · 共 14 行

M
14
字号
function xdot = affine(t,x,flag,A,b)

% Compute the state derivative for the affine dynamic "dx/dt = A*x + b"
%
% Syntax:
%   "xdot = affine(t,x,flag,A,b)"
%
% Description:
%   Return the state derivative for the affine dynamics for the current
%   state vector "x" and time "t". See MATLAB help on "odefile" for more
%   detail.

xdot = A*x + b;

⌨️ 快捷键说明

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