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

📄 last.m

📁 一个matlab的将军模型
💻 M
字号:

hold on;
test3=[];
for i=1:length(nextloc)
   if (ismember(GLOBAL_TRANSITION{nextloc(i)},test2)& ~ismember(nextloc(i),test2))
      test3= [test3 nextloc(i)];
      test3 = unique(test3);
   end
end   

fprintf('Drawing  polytopes, please wait... ');
for i=1:length(test3)
  var_location 	= GLOBAL_XSYS2AUTO_MAP{test3(i)}(1);
  if ~(strcmp(var_location,'terminal'))& ~(strcmp(var_location,'out_of_bound'))
   	var_face			= GLOBAL_XSYS2AUTO_MAP{test3(i)}(2);
      var_state		= GLOBAL_XSYS2AUTO_MAP{test3(i)}(3);
      plot(GLOBAL_AUTOMATON{var_location}.face{var_face}.state{var_state}.polytope)
      disp(test3(i));
  end
end
fprintf('done! \n');

⌨️ 快捷键说明

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