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

📄 matlab code for intelligent control.htm

📁 一个用MATLAB编写的优化控制工具箱
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0060)http://eewww.eng.ohio-state.edu/~passino/ICbook/ic_code.html -->
<HTML><HEAD><TITLE>Matlab Code for Intelligent Control</TITLE>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META content="MSHTML 5.00.2614.3500" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<H3>
<CENTER>
<HR>
</CENTER></H3>
<H3>
<CENTER><FONT color=#a53b0e>Matlab Code for</FONT> 
<P><FONT color=#ff0000>Biomimicry for </FONT><FONT color=#ff0000>Optimization, 
Control, and </FONT><FONT color=#ff0000>Automation</FONT></P></CENTER></H3>
<H3>
<CENTER>
<HR>
</CENTER></H3>
<DIV align=left>
<P>The following is <FONT color=red>Matlab</FONT> code that solves examples 
given in the following book which is currently being written: <FONT 
color=blue>Biomimicry for Optimization, Control, and Automation,</FONT><FONT 
color=#ff0000> </FONT><FONT color=black>by</FONT>: K. Passino, the web site of 
which you can go to by clicking <A 
href="http://eewww.eng.ohio-state.edu/~passino/ICbook/ic_index.html">here</A>. 
</P></DIV>
<P><B><FONT color=#b22222>Elements of Decision-Making:</FONT></B></P>
<UL>
  <LI>Multilayer perceptron for tanker ship heading regulation, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/mlp_tanker.m">here</A>. 

  <LI>Radial basis function neural network for tanker ship heading regulation, 
  click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/rbf_tanker.m">here</A>. 
  </LI></UL>
<UL>
  <LI>Fuzzy controller for tanker ship heading regulation, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/fc_tanker.m">here</A>. 
  </LI></UL>
<UL>
  <LI>Path planning for autonomous vehicle guidance, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/vehic_guide.m">here</A>, 
  <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/obstaclefunction.m">here</A>, 
  and <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/goalfunction.m">here</A>. 

  <LI>Nonlinear model predictive control (planning) for level control in a surge 
  tank, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/plan_surgetank.m">here</A>. 
  </LI></UL>
<UL>
  <LI>Attentional strategies for dynamically focusing on multiple 
  predators/prey, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/attentionstrats.m">here</A>. 
  </LI></UL>
<P><B><FONT color=#b22222>Learning:</FONT></B></P>
<UL>
  <LI>Neural/fuzzy approximator construction basics, via an example unknown 
  function, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/unknownfunc.m">here</A>. 

  <LI>Neural control (reinforcement learning) for tanker heading, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/nc_tanker.m">here</A>. 

  <LI>Neural control for tanker, only 9 receptive field units, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/nc_tanker_9rcus.m">here</A>. 

  <LI>Fuzzy model reference learning control for a tanker ship, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/fmrlc_tanker.m">here</A>. 
  </LI></UL>
<UL>
  <LI>Batch least squares for training a multilayer perceptron, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/bls_lip_mlp.m">here</A>. 

  <LI>Batch least squares for training a Takagi-Sugeno fuzzy system, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/bls_lip_ts.m">here</A>. 

  <LI>Controller design using operator data, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/operator_est.m">here</A> 
  and <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/operator.dat">here</A> 
  for the data set. 
  <LI>Recursive least squares for training a multilayer perceptron, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/rls_lip_mlp.m">here</A>. 

  <LI>Recursive least squares for training a Takagi-Sugeno fuzzy system, click 
  <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/rls_lip_ts.m">here</A>. 

  <LI>Gas furnace data for estimation problem, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/boxjenkins.dat">here</A>. 
  </LI></UL>
<UL>
  <LI>Steepest descent gradient method for on-line training a multilayer 
  perceptron, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/sd_mlp.m">here</A>. 

  <LI>Levenberg-Marquardt method for training a Takagi-Sugeno fuzzy system, 
  click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/lm_ts.m">here</A>. 
  <LI>Training a multilayer perceptron with the Matlab Neural Networks Toolbox, 
  click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/nntoolbxexamp.m">here</A>. 

  <LI>Fuzzy c-means clustering and least squares for training an approximator, 
  click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/clusterfunc.m">here</A>. 
  </LI></UL>
<UL>
  <LI>Indirect neural control for a process control problem, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/neural_indirect_grad.m">here</A>. 

  <LI>Direct neural control for a process control problem, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/neural_direct.m">here</A>. 

  <LI>Stable indirect adaptive neural/fuzzy control for aircraft wing-rock 
  regulation, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/stable_indirect_wrc.m">here</A> 
  and <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/sindwingrockc.m">here</A>. 

  <LI>Stable direct adaptive neural/fuzzy control for aircraft wing-rock 
  regulation, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/stable_direct_wrc.m">here</A> 
  and <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/sdirwingrockc.m">here</A>. 
  </LI></UL>
<P><B><FONT color=#b22222>Evolution:</FONT></B></P>
<UL>
  <LI>Genetic algorithm (base-10), click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/ga.m">here</A>. 
  <LI>Genetic algorithm approximations, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/ga_approx.m">here</A>. 

  <LI>Topographical data for Colombia, optimization problem, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/Colombiatopography.m">here</A> 
  and <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/colom.mat">here</A>. 
  </LI></UL>
<UL>
  <LI>Response surface methodology for PD controller design for tanker ship, 
  click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/rsm_pd_tanker.m">here</A> 
  and <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/pd_tanker_tester.m">here</A>. 

  <LI>Coordinate search, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/coord_search.m">here</A> 
  and <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/optexampfunction.m">here</A> 
  for the function to be optimized. 
  <LI>Nelder-Mead simplex method for direct search, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/direct_search.m">here</A> 
  and <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/optexampfunction.m">here</A> 
  for the function to be optimized. 
  <LI>Multidirectional search for optimization, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/mds.m">here</A>, 
  and <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/optexampfunction.m">here</A> 
  for the function to be optimized. 
  <LI>Simultaneous perturbation stochastic approximation (SPSA), click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/spsa.m">here</A>, 
  and <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/optexampfunction.m">here</A> 
  for the function to be optimized. 
  <LI>SPSA for PD controller design for a tanker ship, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/spsa_pd_tanker.m">here</A> 
  and <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/pdtanker.m">here</A>. 

  <LI>SPSA for design of an attentional strategy, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/spsa_attention.m">here</A> 
  and <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/attentionenv.m">here</A>. 

  <LI>Evolutionary design for a PD controller for a tanker ship, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/evolve_pd_tanker.m">here</A>. 
  </LI></UL>
<UL></UL>
<UL></UL>
<UL>
  <LI>Response surface methodology for approximator size choice, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/rsm_learn.m">here</A>. 

  <LI>Evolution and learning-instinct balance (study via estimator design), 
  click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/rsm_instinctlearn.m">here</A> 
  and <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/estimatortester.m">here</A>. 

  <LI>Set-based stochastic optimization for evolving instinct-learning balance, 
  click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/evolve_instinct_learn.m">here</A>. 
  </LI></UL>
<UL>
  <LI>Indirect genetic adaptive control for a process control problem, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/genetic_adaptive_ind.m">here</A>. 
  </LI></UL>
<P><B><FONT color=#b22222>Foraging:</FONT></B></P>
<UL>
  <LI>Social bacterial foraging for distributed optimization (E. coli based), 
  click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/ecoli_swarm_opt.m">here</A>, 
  <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/nutrientsfunc.m">here</A>, 
  <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/nutrientsfunc1.m">here</A>, 
  <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/bact_cellcell_attract.m">here</A>, 
  and <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/bact_cellcell_attract_func.m">here</A>. 

  <LI>M. Xanthus social bacterial foraging for distributed optimization, click 
  <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/mxanthus_swarm_opt.m">here</A>, 
  <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/mxanthus_nutrients.m">here</A>, 
  <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/mxanthus_cellcell_attract.m">here</A>, 
  and <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/mxanthus_attract_func.m">here</A>. 

  <LI>Social foraging of honey bees for nongradient optimization, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/beeforage.m">here</A> 
  and <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/beeforagefunc.m">here</A>. 

  <LI>Foraging strategy (E. coli) for indirect adaptive control for a process 
  control problem, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/foraging_adaptive_ind.m">here</A>. 

  <LI>Simulation of distributed sychronization of fire fly flashes, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/distributed_synch.m">here</A> 
  and <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/distributed_sych_func.m">here</A>. 
  </LI></UL>
<UL>
  <LI>Security strategy solutions of bimatrix games, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/securitystratexample.m">here</A>. 

  <LI>Nash equilibria of bimatrix games, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/nashequilibria.m">here</A>. 

  <LI>Reaction curves and Nash equilibria, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/reactcurvesnash.m">here</A>. 

  <LI>Minimax strategy solutions for bimatrix games, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/minimaxstrategy.m">here</A>. 

  <LI>Stackelberg strategy solutions for bimatrix games, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/stackelbergstrategy.m">here</A>. 

  <LI>Pareto optimal solutions, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/partetooptimalsolution.m">here</A> 
  and <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/allpartetooptimalsolutions.m">here</A>. 

  <LI>Static foraging game example, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/foragegamestatic.m">here</A>. 
  </LI></UL>
<P><B>
<HR align=left>
</B>
<P></P>
<P><B><FONT color=#2e8b57>Some C code (written by my graduate 
students):</FONT></B></P>
<UL>
  <LI>To download a fuzzy controller for an inverted pendulum coded in C, click 
  <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/fc.txt">here</A>. 
  <LI>To download a simulator for nonlinear systems based on the Runge-Kutta 
  method (4th order) that is written in C and currently set up to simulate an 
  inverted pendulum, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/rk.txt">here</A> 
  (hence this code can be used together with the code for the fuzzy controller 
  above to simulate a simple fuzzy control system). 
  <LI>To download C code for a base-10 genetic algorithm that is currently 
  configured to optimize a simple function, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/gac.txt">here</A>. 
  <LI>For the programs written in C it is easy to output the data to a file and 
  plot it in MATLAB. For a brief explanation of how to output data from programs 
  and plot it in MATLAB, click <A 
  href="http://eewww.eng.ohio-state.edu/~passino/ICbook/Code/MATLAB-C.txt">here</A>. 
  </LI></UL>
<HR align=left>

<P>Last updated: 9/25/02 
<P></P>
<P>Return to <A 
href="http://eewww.eng.ohio-state.edu/~passino/index.html">home</A>.</P></BODY></HTML>

⌨️ 快捷键说明

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