【实例简介】
matlab的最新mpt工具箱里面含有各种关于画voronoi图等的函数)
【实例截图】
【核心代码】
mpt3-3_2_0
└── mpt3-3_2_0
└── mpt
├── Contents.m
├── demos
│ ├── dataSim.mat
│ ├── mpt_demo1.m
│ ├── mpt_demo2.m
│ ├── mpt_demo_PowerNetworkSystem.m
│ ├── mpt_demo_deployment_explicitMPC.m
│ ├── mpt_demo_deployment_explicitMPCtracking.m
│ ├── mpt_demo_deployment_onlineMPC.m
│ ├── mpt_demo_functions1.m
│ ├── mpt_demo_functions2.m
│ ├── mpt_demo_lti1.m
│ ├── mpt_demo_lti2.m
│ ├── mpt_demo_lti3.m
│ ├── mpt_demo_lti4.m
│ ├── mpt_demo_lti5.m
│ ├── mpt_demo_opt1.m
│ ├── mpt_demo_pwa1.m
│ ├── mpt_demo_quadcopter.m
│ ├── mpt_demo_rtw_explicitmpc.mdl
│ ├── mpt_demo_rtw_explicitmpctracking.mdl
│ ├── mpt_demo_rtw_onlinempc.mdl
│ ├── mpt_demo_sets1.m
│ ├── mpt_demo_sets2.m
│ ├── mpt_demo_sets3.m
│ ├── mpt_demo_unions1.m
│ ├── mpt_demo_unions2.m
│ └── quadcopter_ssmodel.mat
├── modules
│ ├── Contents.m
│ ├── compatibility
│ │ ├── @mptctrl
│ │ │ └── mptctrl.m
│ │ ├── @polytope
│ │ │ └── polytope.m
│ │ ├── Contents.m
│ │ ├── Penalty.m
│ │ ├── control
│ │ │ ├── mpt_constructMatrices.m
│ │ │ ├── mpt_control.m
│ │ │ ├── mpt_removeOverlaps.m
│ │ │ └── mpt_sys.m
│ │ ├── graphics
│ │ │ ├── mpt_plotPWA.m
│ │ │ └── mpt_plotPWQ.m
│ │ ├── hys2pwa
│ │ │ ├── Contents.m
│ │ │ ├── PWAwelldefined.m
│ │ │ ├── findFAS.m
│ │ │ ├── hys2pwa.m
│ │ │ ├── mpt_hyparr.m
│ │ │ ├── mpt_pwa2mld.m
│ │ │ ├── mpt_pwa2sys.m
│ │ │ ├── remAL.m
│ │ │ └── syminfo.m
│ │ ├── mpt_compatibility_options.m
│ │ ├── mpt_obsoleteFunction.m
│ │ ├── optmerge
│ │ │ ├── Contents.m
│ │ │ ├── cplex.log
│ │ │ ├── intersectHP1.m
│ │ │ ├── mpt_exHyperAdv.m
│ │ │ ├── mpt_hyparr2.m
│ │ │ ├── mpt_intersectHP1.m
│ │ │ ├── mpt_merge5.m
│ │ │ ├── mpt_optMerge.m
│ │ │ ├── mpt_optMergeDivCon.m
│ │ │ ├── polyinnerball.m
│ │ │ ├── readEspressoOne.m
│ │ │ ├── tg_polyreduce.m
│ │ │ └── writeEspressoOnOff.m
│ │ ├── solvers
│ │ │ ├── mpt_mplp.m
│ │ │ ├── mpt_mplp_26.m
│ │ │ ├── mpt_mpqp.m
│ │ │ ├─