亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? som_set.m

?? it is matlab code , som(slef organizing map) tool for matlab
?? M
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
	if ischar(content), content = cellstr(content); 	elseif ~iscellstr(content), 	  l = prod(size(content));	  for j=1:l, 	    if ischar(content{j}), 	      if ~isempty(content{j}), 		msg = 'Invalid ''labels'' array.';		isok = 0; 		break;	      else		content{j} = ''; 	      end	    end	  end	end	if isok, sS.labels = content; end      end     case 'topol',       if ~isstruct(content), 	msg = '''topol'' should be a topology struct.';       elseif ~isfield(content,'msize') | ...	    ~isfield(content,'lattice') | ...	    ~isfield(content,'shape'), 	msg = '''topol'' is not a valid topology struct.';       elseif prod(content.msize) ~= munits, 	msg = '''topol''.msize does not match the number of map units.';       else	sS.topol = content; isok = 1;      end     case 'msize',       if ~isnumeric(content) | ~isvector | ~ispositive | ~isinteger, 	msg = '''msize'' should be a vector with positive integer elements.';       elseif prod(content) ~= munits, 	msg = '''msize'' does not match the map size.';       else	sS.topol.msize = content; isok = 1;      end     case 'lattice',       if ~ischar(content),	msg = '''lattice'' should be a string';       elseif ~strcmp(content,'rect') & ~strcmp(content,'hexa'),	msg = ['Unknown lattice type: ' content];	sS.topol.lattice = content; isok = 1;      else	sS.topol.lattice = content; isok = 1;      end     case 'shape',       if ~ischar(content),	msg = '''shape'' should be a string';      elseif ~strcmp(content,'sheet') & ~strcmp(content,'cyl') & ...	    ~strcmp(content,'toroid'),	msg = ['Unknown shape type:' content]; 	sS.topol.shape = content; isok = 1;      else	sS.topol.shape = content; isok = 1;      end     case 'neigh',       if ~ischar(content),	msg = '''neigh'' should be a string';       elseif ~strcmp(content,'gaussian') & ~strcmp(content,'ep') & ...	    ~strcmp(content,'cutgauss') & ~strcmp(content,'bubble'),	msg = ['Unknown neighborhood function: ' content]; 	sS.neigh = content; isok = 1;      else	sS.neigh = content; isok = 1;      end     case 'mask',       if size(content,1) == 1, content = content'; end      if ~isnumeric(content) | size(content) ~= [dim 1], 	msg = '''mask'' should be a column vector (size dim x 1).';       else	sS.mask = content; isok = 1;      end     case 'name',       if ~ischar(content), 	msg = '''name'' should be a string.';      else 	sS.name = content; isok = 1;      end     case 'comp_names',       if ~iscell(content) & ~ischar(content), 	msg = '''comp_names'' should be a cell string or a string array.';       elseif length(content) ~= dim, 	msg = 'Length of ''comp_names'' should be equal to dim.';       else	if ischar(content), content = cellstr(content); end	if size(content,1)==1, content = content'; end	sS.comp_names = content;	isok = 1;      end             case 'comp_norm',       if ~iscell(content) & length(content)>0, 	msg = '''comp_norm'' should be a cell array.';       elseif length(content) ~= dim, 	msg = 'Length of ''comp_norm'' should be equal to dim.';       else	isok = 1;	for j=1:length(content), 	  if ~isempty(content{j}) & (~isfield(content{j}(1),'type') | ...				     ~strcmp(content{j}(1).type,'som_norm')), 	    msg = 'Each cell in ''comp_norm'' should be either empty or type ''som_norm''.';	    isok = 0; 	    break; 	  end	end	if isok, sS.comp_norm = content; end      end             case 'trainhist',       if ~isstruct(content) & ~isempty(content), 	msg = '''trainhist'' should be a struct array or empty.';      else	isok = 1;	for j=1:length(content), 	  if ~isfield(content(j),'type') | ~strcmp(content(j).type,'som_train'), 	    msg = 'Each cell in ''trainhist'' should be of type ''som_train''.';	    isok = 0; 	    break; 	  end	end	if isok, sS.trainhist = content; end            end             otherwise,       msg = ['Invalid field for map struct: ' field];     end       case 'som_data',    [dlen dim] = size(sS.data);    switch field,           case 'data',       [dummy dim2] = size(content);      if prod(si)==0, 	msg = '''data'' is empty';      elseif ~isnumeric(content), 	msg = '''data'' should be numeric matrix.';       elseif dim ~= dim2 & ~isempty(sS.data), 	msg = 'New ''data'' must have the same dimension as old one.';       else	sS.data = content; isok = 1;      end     case 'labels',       if isempty(content), 	sS.labels = cell(dlen,1); isok = 1;      elseif size(content,1) ~= dlen, 	msg = 'Length of ''labels'' must be equal to the number of data vectors.';      elseif ~iscell(content) & ~ischar(content), 	msg = '''labels'' must be a string array or a cell array/matrix.';      else	isok = 1;	if ischar(content), content = cellstr(content); 	elseif ~iscellstr(content), 	  l = prod(size(content));	  for j=1:l, 	    if ~ischar(content{j}), 	      if ~isempty(content{j}), 		msg = 'Invalid ''labels'' array.';		isok = 0; j		break;	      else		content{j} = ''; 	      end	    end	  end	end	if isok, sS.labels = content; end      end     case 'name',       if ~ischar(content), 	msg = '''name'' should be a string.';      else 	sS.name = content; isok = 1;      end     case 'comp_names',       if ~iscell(content) & ~ischar(content), 	msg = '''comp_names'' should be a cell string or a string array.';       elseif length(content) ~= dim, 	msg = 'Length of ''comp_names'' should be equal to dim.';       else	if ischar(content), content = cellstr(content); end	if size(content,1)==1, content = content'; end	sS.comp_names = content;	isok = 1;      end             case 'comp_norm',       if ~iscell(content) & length(content)>0, 	msg = '''comp_norm'' should be a cell array.';       elseif length(content) ~= dim, 	msg = 'Length of ''comp_norm'' should be equal to dim.';       else	isok = 1;	for j=1:length(content), 	  if ~isempty(content{j}) & (~isfield(content{j}(1),'type') | ...				     ~strcmp(content{j}(1).type,'som_norm')), 	    msg = 'Each cell in ''comp_norm'' should be either empty or type ''som_norm''.';	    isok = 0; 	    break; 	  end	end	if isok, sS.comp_norm = content; end      end             case 'label_names',       if ~iscell(content) & ~ischar(content) & ~isempty(content), 	msg = ['''label_names'' should be a cell string, a string array or' ...	       ' empty.'];       else	if ~isempty(content), 	  if ischar(content), content = cellstr(content); end	  if size(content,1)==1, content = content'; end	end	sS.label_names = content;	isok = 1;      end             otherwise,       msg = ['Invalid field for data struct: ' field];     end       case 'som_topol',     switch field,           case 'msize',       if ~isnumeric(content) | ~isvector | ~ispositive | ~isinteger, 	msg = '''msize'' should be a vector with positive integer elements.';       else	sS.msize = content; isok=1;      end     case 'lattice',       if ~ischar(content),	msg = '''lattice'' should be a string';       elseif ~strcmp(content,'rect') & ~strcmp(content,'hexa'),	msg = ['Unknown lattice type: ' content]; 	sS.lattice = content; isok = 1;      else	sS.lattice = content; isok = 1;      end     case 'shape',       if ~ischar(content),	msg = '''shape'' should be a string';      elseif ~strcmp(content,'sheet') & ~strcmp(content,'cyl') & ...	    ~strcmp(content,'toroid'),	msg = ['Unknown shape type: ' content]; 	sS.shape = content; isok = 1;      else	sS.shape = content; isok = 1;      end     otherwise,       msg = ['Invalid field for topology struct: ' field];     end       case 'som_train',     switch field,           case 'algorithm',       if ~ischar(content),	msg = '''algorithm'' should be a string.';       else	sS.algorithm = content; isok = 1;      end     case 'data_name',       if ~ischar(content),	msg = '''data_name'' should be a string';       else	sS.data_name = content; isok = 1;      end     case 'neigh',       if ~ischar(content),	msg = '''neigh'' should be a string';       elseif ~isempty(content) & ~strcmp(content,'gaussian') & ~strcmp(content,'ep') & ...	    ~strcmp(content,'cutgauss') & ~strcmp(content,'bubble'),	msg = ['Unknown neighborhood function: ' content]; 	sS.neigh = content; isok = 1;      else	sS.neigh = content; isok = 1;      end     case 'mask',       if size(content,1) == 1, content = content'; end      dim = size(content,1); %[munits dim] = size(sS.data);       if ~isnumeric(content) | size(content) ~= [dim 1], 	msg = '''mask'' should be a column vector (size dim x 1).';       else	sS.mask = content; isok = 1;      end     case 'radius_ini',       if ~isnumeric(content) | ~isscalar, 	msg = '''radius_ini'' should be a scalar.';       else	sS.radius_ini = content; isok = 1;      end     case 'radius_fin',       if ~isnumeric(content) | ~isscalar, 	msg = '''radius_fin'' should be a scalar.';       else	sS.radius_fin = content; isok = 1;      end     case 'alpha_ini',       if ~isnumeric(content) | ~isscalar,	msg = '''alpha_ini'' should be a scalar.';       else	sS.alpha_ini = content; isok = 1;      end     case 'alpha_type',       if ~ischar(content),	msg = '''alpha_type'' should be a string';       elseif ~strcmp(content,'linear') & ~strcmp(content,'inv') & ...	    ~strcmp(content,'power') & ~strcmp(content,'constant') & ~strcmp(content,''),	msg = ['Unknown alpha type: ' content]; 	sS.alpha_type = content; isok = 1;      else	sS.alpha_type = content; isok = 1;      end             case 'trainlen',       if ~isnumeric(content) | ~isscalar, 	msg = '''trainlen'' should be a scalar.';       else	sS.trainlen = content; isok = 1;      end     case 'time',       if ~ischar(content),	msg = '''time'' should be a string';       else	sS.time = content; isok = 1;      end             otherwise,       msg = ['Invalid field for train struct: ' field];     end       case 'som_norm',     switch field,           case 'method',       if ~ischar(field), 	msg = '''method'' should be a string.';      else	sS.method = content; isok = 1;      end     case 'params',       sS.params = content; isok = 1;     case 'status',       if ~ischar(content),	msg = '''status'' should be a string';       elseif ~strcmp(content,'done') & ~strcmp(content,'undone') & ...	    ~strcmp(content,'uninit'),	msg = ['Unknown status type: ' content]; 	sS.status = content; isok = 1;      else	sS.status = content; isok = 1;      end             otherwise,       msg = ['Invalid field for normalization struct: ' field];    end   case 'som_grid',     if any(strcmp(field,{'lattice', 'shape', 'msize', 'coord',...			 'line', 'linecolor', 'linewidth', ...			 'marker', 'markersize', 'markercolor', 'surf', ... 			 'label', 'labelcolor', 'labelsize'})),       warning('No checking done on field identifier or content.');      sS = setfield(sS,field,content);             isok = 1;    else      msg = ['Invalid field for grid struct: ' field];    end       otherwise,     error('Unrecognized structure.');       end    msgs{i} = msg;  ok(i) = isok;  end%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% returnif nargout < 2,   for i=1:p,         if ~isempty(msgs{i}),       if ~ok(i), fprintf(1,'[Error! ');       else fprintf(1,'[Notice ');      end      fprintf(1,'in setting %s] ',varargin{2*i-1});      fprintf(1,'%s\n',msgs{i});    end  endend%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
秋霞影院一区二区| 黄一区二区三区| 国产精品一区在线| 欧美午夜寂寞影院| 久久久久久一二三区| 亚洲大片在线观看| 风流少妇一区二区| 欧美大片拔萝卜| 亚洲成人在线网站| 91丨九色丨蝌蚪富婆spa| 亚洲精品在线观看视频| 五月天一区二区| 日本高清免费不卡视频| 亚洲国产经典视频| 国内外成人在线视频| 91精品国产麻豆国产自产在线| 日韩一区中文字幕| 岛国精品在线观看| 国产区在线观看成人精品| 男男gaygay亚洲| 91精品国产综合久久久久久漫画 | 国产91精品欧美| 久久亚洲二区三区| 久久精品国产亚洲高清剧情介绍 | 国产日韩一级二级三级| 免费成人av在线| 日韩一级免费一区| 理论电影国产精品| 精品理论电影在线观看| 狠狠色综合色综合网络| 亚洲精品在线电影| 国产九九视频一区二区三区| 精品国偷自产国产一区| 精品无码三级在线观看视频| 日韩精品一区二区三区在线观看| 人人爽香蕉精品| 日韩精品中午字幕| 国产乱一区二区| 欧美激情一区三区| 色综合天天综合网国产成人综合天 | 日韩av在线发布| 日韩女优av电影在线观看| 久久99精品国产麻豆不卡| 久久夜色精品一区| 91亚洲精华国产精华精华液| 一区二区在线看| 制服.丝袜.亚洲.中文.综合| 日本伊人精品一区二区三区观看方式| 欧美精三区欧美精三区| 免费xxxx性欧美18vr| 久久久久久久久久美女| 91小视频在线免费看| 亚洲高清不卡在线观看| 日韩女优毛片在线| 成人免费看视频| 一区二区三区在线视频免费观看 | 97se亚洲国产综合自在线不卡 | 欧美日韩mp4| 国产一区二区三区不卡在线观看| 国产欧美一区视频| 欧美午夜精品一区二区蜜桃| 免费在线观看一区二区三区| 国产日韩欧美在线一区| 欧美色视频一区| 国产精品99久久久久久久vr| 最新国产成人在线观看| 日韩精品一区二| av在线不卡免费看| 免费高清视频精品| 一区二区三区日韩在线观看| 欧美精品 日韩| 成人黄色大片在线观看| 秋霞成人午夜伦在线观看| 国产精品久久久久影院亚瑟| 欧美精品久久99| jlzzjlzz亚洲女人18| 麻豆一区二区三区| 亚洲免费av在线| 国产欧美精品一区aⅴ影院| 欧美浪妇xxxx高跟鞋交| 99国产精品国产精品毛片| 久久国产精品99久久久久久老狼| 亚洲男人的天堂av| 久久免费偷拍视频| 日韩欧美你懂的| 91国偷自产一区二区开放时间| 国产综合成人久久大片91| 亚洲高清免费一级二级三级| 国产精品国产a级| 久久综合视频网| 日韩一区二区三区在线视频| 色噜噜狠狠成人网p站| av在线一区二区| 国产一区二区剧情av在线| 日韩精品亚洲专区| 亚洲日本韩国一区| 中文字幕不卡一区| 久久精品欧美一区二区三区麻豆| 欧美一区二区免费视频| 欧美视频三区在线播放| 99精品国产99久久久久久白柏 | 91精品国产综合久久久蜜臀图片| 色综合久久六月婷婷中文字幕| 粉嫩在线一区二区三区视频| 黄色小说综合网站| 国产一区福利在线| 韩日av一区二区| 国产一区二区三区高清播放| 久久超碰97人人做人人爱| 日av在线不卡| 精品亚洲成av人在线观看| 久久99精品视频| 国产黄色成人av| 丁香五精品蜜臀久久久久99网站| 国产一区中文字幕| 国产69精品久久久久777| 成人一区二区三区在线观看| 国产一区二区视频在线播放| 国产精品白丝jk黑袜喷水| 国产99久久久国产精品潘金网站| 国产经典欧美精品| kk眼镜猥琐国模调教系列一区二区| 成人激情动漫在线观看| 91在线观看高清| 精品视频在线视频| 91精品国产色综合久久ai换脸| 欧美一区二区三区在线观看| 日韩精品一区二区三区蜜臀| 久久久国产精华| 国产精品久久久久四虎| 亚洲女人小视频在线观看| 亚洲制服丝袜av| 免费视频最近日韩| 国产剧情一区在线| 91在线视频网址| 欧美日韩国产精品自在自线| 日韩亚洲国产中文字幕欧美| 久久久久久久国产精品影院| 中文字幕一区二区三区四区不卡| 亚洲成人免费电影| 激情欧美一区二区三区在线观看| 成人综合激情网| 欧美日韩国产一二三| 久久色.com| 亚洲精品伦理在线| 久久国产精品99久久久久久老狼| 国产99久久久国产精品免费看| 91捆绑美女网站| 日韩免费成人网| 亚洲欧美一区二区久久| 另类调教123区| 色婷婷激情综合| 精品国产区一区| 亚洲日本中文字幕区| 美女在线一区二区| 99久久99久久久精品齐齐| 欧美一区二区三区啪啪| 国产精品久久久久国产精品日日| 亚洲成人激情社区| 不卡的av网站| 日韩欧美一级二级三级久久久| 一区二区中文视频| 久久99热这里只有精品| 色婷婷香蕉在线一区二区| 久久久国产精品麻豆| 日韩成人av影视| 欧洲激情一区二区| 亚洲国产成人一区二区三区| 日本亚洲三级在线| 欧美性一二三区| 国产精品国产三级国产有无不卡| 免费观看91视频大全| 欧美色视频在线观看| 亚洲男人的天堂av| 成人午夜免费av| 久久精品视频一区二区| 午夜精品久久久久久不卡8050| 成人av在线资源| 久久久国产精品麻豆| 蜜桃视频在线观看一区二区| 欧美性生活久久| 亚洲裸体xxx| 99免费精品视频| 中文字幕一区在线观看视频| 国产精品一二三区在线| 日韩精品中午字幕| 美腿丝袜一区二区三区| 欧美裸体bbwbbwbbw| 丝袜亚洲另类欧美| 欧美日韩精品系列| 亚洲国产精品久久不卡毛片| 在线免费亚洲电影| 亚洲激情五月婷婷| 色狠狠一区二区| 亚洲一区在线视频观看| 色综合 综合色| 亚洲一区二区高清| 欧美色男人天堂| 日日摸夜夜添夜夜添国产精品| 欧美日韩aaaaaa|