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

📄 printprotein.m

📁 UMDA. a kind of estimation of distribution algorithm , which is the improvement of genetic algorithm
💻 M
字号:
function[Pos] =  PrintProtein(vector)% PrintProtein prints the configuration encoded by vector% INPUTS% vector: Sequence of residues ( (H)ydrophobic or (P)olar, respectively represented by zero and one)% OUTPUTS% Pos:    Position of the residues global InitConf;[Collisions,Overlappings,Pos] =  EvalChain(vector);sizeChain = size(InitConf,2);figurehold onfor i=1:sizeChain if(InitConf(i) == 0)   plot(Pos(i,1),Pos(i,2),'*'); else   plot(Pos(i,1),Pos(i,2),'o'); end  end plot(Pos(:,1),Pos(:,2),'b-');% Last version 10/09/2005. Roberto Santana (rsantana@si.ehu.es) 

⌨️ 快捷键说明

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