wang xiao ping 版遗传算法

源代码在线查看: include.m

软件大小: 3792 K
上传用户: ccdn2615
关键词: wang ping xiao 算法
下载地址: 免注册下载 普通下载 VIP

相关代码

				function new=include(temp,inc,ov)
				
				%
				% include.m
				%
				% Function to build up a process data matrix given a binary
				% "Include" vector.
				%
				numcol=sum(inc);
				
				[D L]=size(temp);
				
				new=zeros(D,numcol);
				
				sum=1;
				
				for i = 1 : L
				
					if inc(i)==1 and ov ~= i
						new(:,sum)=temp(:,i);
						sum=sum+1;
					end
				end
							

相关资源