tank.m

来自「The program uses fminsearch to obtain th」· M 代码 · 共 18 行

M
18
字号
% Author: Housam Binous

% Dynamic and control of a tank using the genetic algorithm toolbox

% National Institute of Applied Sciences and Technology, Tunis, TUNISIA

% Email: binoushousam@yahoo.com

function xdot=tank(t,x)

% governing equation for the tank's dynamics

A=4;k=0.5;

xdot=1/A*(1-k*sqrt(x));

end

⌨️ 快捷键说明

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