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

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

?? preprocess.m

?? it is matlab code , som(slef organizing map) tool for matlab
?? M
?? 第 1 頁 / 共 5 頁
字號:
%%% arg's first "word" is 4 letters long and it can be:%%%%%% 'key '%%% 'down'%%% 'drag'%%% 'up  'if strcmp(arg,'key ') %string is 'key' + 1 space!!!  if ~LOG    key=get(gcf,'CurrentCharacter');   else     key=arg2  end  if ~strcmp(key,'<') & ~strcmp(key,'>')    return;  end  data=get(gcf,'UserData');  sel=data.selected_vects;  if length(sel) == 1    if strcmp(key,'<') & sel ~= 1       data.selected_vects=sel-1;      set(gcf,'UserData',data);     elseif strcmp(key,'>') & sel ~= length(data.sData.data(:,1))      data.selected_vects = sel + 1;      set(gcf,'UserData',data);     end  else    if strcmp(key,'<') & sel(1) ~= 1      data.selected_vects=cat(2,sel(1)-1,sel);      set(gcf,'UserData',data);     elseif strcmp(key,'>') & sel(length(sel)) ~= length(sel)      data.selected_vects=cat(2,sel,sel(length(sel))+1);      set(gcf,'UserData',data);     end  end  cplot_mimema;  pro_tools('plot_hist');  pro_tools('c_stat');  vects=zeros(1,length(data.sData.data(:,1)));  vects(data.selected_vects)=1;  draw_vectors(vects,data.vector_h);   if ~LOG    data=get(gcf,'UserData');    data.LOG{length(data.LOG)+1}=...    sprintf('preprocess(''vector_bdf'',''key  %s'');',key);                                                %string is 'key'+2spaces+%s    set(gcf,'UserData',data);  end  return;endswitch arg  case 'down'   set(gcf,'WindowButtonUpFcn','preprocess(''vector_bdf'',''up  '')');   set(gcf,'WindowButtonMotionFcn','preprocess(''vector_bdf'',''drag'')');   switch get(gcf,'SelectionType')     case 'normal'      data.lims1=round(getfield(get(gca,'CurrentPoint'),{1,1}));      data.lims2=[];     case 'alt'      tmp=round(getfield(get(gca,'CurrentPoint'),{1,1}));      if isempty(get(gca,'UserData'))        data.lims1=tmp;        data.lims2=[];      else        data.lims1=cat(2,getfield(get(gca,'UserData'),'lims1'),tmp);        data.lims2=getfield(get(gca,'UserData'),'lims2');      end   end   coords=get(gca,'CurrentPoint');   h=line([coords(1),coords(1)],get(gca,'YLim'),'EraseMode','xor');   set(h,'Color','red');   h2=line([coords(1),coords(1)],get(gca,'YLim'),'EraseMode','xor');   set(h2,'Color','red');   data.h=h;   data.h2=h2;   set(gca,'UserData',data);  case 'drag'   coords=get(gca,'CurrentPoint');   lim=get(gca,'XLim');   h2=getfield(get(gca,'UserData'),'h2');   if lim(1) >= coords(1)     set(h2,'XData',[lim(1) lim(1)]);   elseif lim(2) <= coords(2)     set(h2,'XData',[lim(2) lim(2)]);   else     set(h2,'XData',[coords(1) coords(1)]);   end  case 'up  '   % string is 'up' + 2 spaces!!!    set(gcf,'WindowButtonUpFcn','');   set(gcf,'WindowButtonMotionFcn','');   if ~LOG     data=get(gca,'UserData');     delete(data.h);     delete(data.h2);     tmp=round(getfield(get(gca,'CurrentPoint'),{1,1}));     data.lims2=cat(2,data.lims2,tmp);     tmp_data=sort(cat(1,data.lims1,data.lims2));     high=getfield(get(gca,'XLim'),{2})-1;     vectors=zeros(1,high);     tmp_data(find(tmp_data<1))=1;     tmp_data(find(tmp_data>high))=high;     for i=1:getfield(size(tmp_data),{2})       vectors(tmp_data(1,i):tmp_data(2,i))=1;     end     selected_vects=find(vectors);   else     pre_h=findobj(get(0,'Children'),'Tag','Preprocess');     len=size(getfield(getfield(get(pre_h,'UserData'),'sData'),'data'));     vectors=zeros(1,len(1));     i=1;     while i <= length(arg2) & (isspace(arg2(i)) | ~isletter(arg2(i)))      i=i+1;     end     arg3=arg2(i:length(arg2));     selected_vects=str2num(arg2(1:i-1));     if ~isempty(arg3) & ~all(isspace(arg3))       selected_vects=unique(cat(2,selected_vects,...                            getfield(get(pre_h,'UserData'),'selected_vects')));     end                vectors(selected_vects)=1;       set(pre_h,'CurrentAxes',getfield(get(pre_h,'UserData'),'vector_h'));     set(0,'CurrentFigure',pre_h);   end   draw_vectors(vectors,gca);   sData=getfield(get(gcf,'UserData'),'sData');   h=getfield(get(gcf,'UserData'),'vect_mean_h');   vect_means(sData,h,selected_vects);   if ~LOG     set(gca,'UserData',data);   end   data=get(gcf,'UserData');     data.undo.sData=data.sData;   data.undo.selected=data.selected_vects;   data.selected_vects=selected_vects;   if ~LOG     data.LOG{length(data.LOG)+1}='% Vector selection by using the mouse...';     tmp=sprintf('preprocess(''vector_bdf'',''up   %s'');',...                num2str(data.selected_vects));     if length(tmp) > 500       tmp=textwrap({tmp},500);       data.LOG{length(data.LOG)+1}=cat(2,tmp{1},''');');       for i=2:length(tmp)-1         data.LOG{length(data.LOG)+1}=...               cat(2,sprintf('preprocess(''vector_bdf'',''up   %s',...                     tmp{i}),'add'');');       end       data.LOG{length(data.LOG)+1}=...             cat(2,sprintf('preprocess(''vector_bdf'',''up   %s',...                   tmp{length(tmp)}(1:length(tmp{length(tmp)})-3)),' add'');');     else       data.LOG{length(data.LOG)+1}=tmp;     end   end      set(gcf,'UserData',data);   cplot_mimema;   sel_comp;end%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%function sel_button(varargin) %SEL_BUTTON     A Callback function. It performs the operations needed%               when vector components are selected.%% See also SEL_COMP%if nargin == 1  LOG=1;  pre_h=findobj(get(0,'Children'),'Tag','Preprocess');  string=getfield(get(pre_h,'UserData'),'comp_names_h');  string=getfield(get(string,'String'),{str2num(varargin{1})});  set(0,'CurrentFigure',pre_h);else  LOG=0;  val=get(getfield(get(gcf,'UserData'),'comp_names_h'),'Value');endsel_button_h=getfield(get(gcf,'UserData'),'sel_button_h');sel_comps_h=getfield(get(gcf,'UserData'),'sel_comps_h');comp_names_h=getfield(get(gcf,'UserData'),'comp_names_h');if ~LOG  string=getfield(get(comp_names_h,'String'),{get(comp_names_h,'Value')});endtmp_string=get(sel_comps_h,'String');if iscell(tmp_string)  for i=1:length(string)    if ~any(strcmp(string{i},tmp_string))      tmp_string=cat(1,tmp_string,string(i));    end  end  string=tmp_string;endset(sel_comps_h,'String',string);set(comp_names_h,'Value',[]);sel_comp;if ~LOG  data=get(gcf,'UserData');  data.LOG{length(data.LOG)+1}='% Select components';  data.LOG{length(data.LOG)+1}=sprintf('preprocess(''sel_button'',''%s'');',...                                        num2str(val));  set(gcf,'UserData',data);end %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%function clear_button(varargin)%CLEAR_BUTTON  Function callback evaluated when a 'Clear'-button is%              pressed. It removes texts from the 'selected components' %              -window and the 'selected component data' -window and%              clears the 'histogram' -axis.%%if nargin==1  LOG=1;  pre_h=findobj(get(0,'Children'),'Tag','Preprocess');  set(0,'CurrentFigure',pre_h);else  LOG=0;endsel_comp_h=getfield(get(gcf,'UserData'),'sel_comp_h');sel_cdata_h=getfield(get(gcf,'UserData'),'sel_cdata_h');sel_cplot_h=getfield(get(gcf,'UserData'),'sel_cplot_h');sel_chist_h=getfield(get(gcf,'UserData'),'sel_chist_h');vector_h=getfield(get(gcf,'UserData'),'vector_h');set(sel_comp_h,'Value',1);set(sel_cdata_h,'String',' ');subplot(sel_chist_h);hold off;cla;selected=getfield(get(gcf,'UserData'),'selected_vects');dims=size(getfield(getfield(get(gcf,'UserData'),'sData'),'data'));vectors=zeros(1,dims(1));vectors(selected)=1;subplot(vector_h);draw_vectors(vectors,vector_h);if ~LOG  data=get(gcf,'UserData');  data.LOG{length(data.LOG)+1}='% Remove components from the selected list.';  data.LOG{length(data.LOG)+1}='preprocess(''clear_button'',''foo'');';  set(gcf,'UserData',data);end%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%function sel_comp(varargin)%SEL_COMP  performs the operations needed when vector components are%          chosen. It writes maxima, minima, mean and standard deviation%          of the chosen component to a text box window and draws a%          histogram of the chosen component of selected vectors' %%pre_h=findobj(get(0,'Children'),'Tag','Preprocess');set(0,'CurrentFigure',pre_h);sel_comp_h=getfield(get(pre_h,'UserData'),'sel_comp_h');if nargin == 1  set(sel_comp_h,'Value',str2num(varargin{1}));elseif ~isempty(gcbo)  no=get(sel_comp_h,'Value');  data=get(gcf,'UserData');  data.LOG{length(data.LOG)+1}='% Select one component';  data.LOG{length(data.LOG)+1}=cat(2,'preprocess(''sel_comp'',''',...                                      num2str(no),''');');  set(gcf,'UserData',data);endpro_tools('c_stat');pro_tools('plot_hist');data=get(gcf,'UserData');sData=data.sData;  vector_h=data.vector_h;len=length(sData.data(:,1));vects=zeros(1,len);vects(data.selected_vects)=1;draw_vectors(vects,vector_h);%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%function cplot_mimemaglobal no_of_scsData=getfield(get(gcf,'UserData'),'sData');sel_cplot_h=getfield(get(gcf,'UserData'),'sel_cplot_h');selected=getfield(get(gcf,'UserData'),'selected_vects');set(sel_cplot_h,'YLim',[0 length(sData.data(1,:))+1]);subplot(sel_cplot_h);hold off;cla;hold on;for i=1:length(sData.data(1,:))  Max=max(sData.data(:,i));  Min=min(sData.data(:,i));  tmp=sData.data(selected,i);  selMax=max(tmp);  selMin=min(tmp);  Mean=abs(mean(tmp(find(~isnan(tmp)))));  Median=abs(median(tmp(find(~isnan(tmp)))));    if Max ~= Min & ~all(isnan(sData.data(:,i)))    if rem(i,no_of_sc)   % no_of_sc is defined in the beginning of this file...      line([abs(selMin-Min)/(Max-Min) (selMax-Min)/(Max-Min)],...           [i i],'Color','black');      plot(abs(Mean-Min)/(Max-Min),i,'oblack');      plot(abs(Median-Min)/(Max-Min),i,'xblack');    else      line([abs(selMin-Min)/(Max-Min) (selMax-Min)/(Max-Min)],...           [i i],'Color','black','LineWidth',2);      plot(abs(Mean-Min)/(Max-Min),i,'oblack','LineWidth',2);      plot(abs(Median-Min)/(Max-Min),i,'xblack','LineWidth',2);    end  else    if rem(i,no_of_sc)     % N is defined in the beginning of this file.      plot(mean(get(gca,'XLim')),i,'oblack');      plot(mean(get(gca,'XLim')),i,'xblack');    else      plot(mean(get(gca,'XLim')),i,'oblack','LineWidth',2);      plot(mean(get(gca,'XLim')),i,'xblack','LineWidth',2);    end  endend%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%function bool=set_sD_stats%SET_SD_STATS Writes the data set names to popup menu.%%bool=1;data=get(gcf,'UserData');for i=1:length(data.sD_set) % if ~isvalid_var_name({data.sD_set(i).name}) %   close_preprocess; %   bool=0; %   return; % end  string{i}=cat(2,sprintf('#%d: ',i),data.sD_set(i).name);endset(data.sD_set_h,'String',string);data.sData=data.sD_set(get(data.sD_set_h,'Value'));data.sData.MODIFIED=0;data.sData.INDEX=1;set(gcf,'UserData',data);write_sD_stats;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%function write_sD_stats%WRITE_SD_STATS  writes data's name, length and dimension to text box.%%pre_h=findobj(get(0,'Children'),'Tag','Preprocess');sD_name_h=getfield(get(pre_h,'UserData'),'sD_name_h');sData=getfield(get(pre_h,'UserData'),'sData');dims=size(sData.data);string{1}=cat(2,'Name:   ',sData.name);string{2}=cat(2,'Length: ',sprintf('%d',dims(1)));string{3}=cat(2,'Dim:     ',sprintf('%d',dims(2)));set(sD_name_h,'String',string);set(sD_name_h,'HorizontalAlignment','left');%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%function sel_sD(varargin)%SEL_SD  sets new data to UserData's 'sData'.%        %if nargin==1  LOG=1;  index=str2num(varargin{1});  pre_h=findobj(get(0,'Children'),'Tag','Preprocess');  set(0,'CurrentFigure',pre_h);else  LOG=0;endsD_set_h=getfield(get(gcf,'UserData'),'sD_set_h');comp_names_h=getfield(get(gcf,'UserData'),'comp_names_h');vector_h=getfield(get(gcf,'UserData'),'vector_h');vect_mean_h=getfield(get(gcf,'UserData'),'vect_mean_h');if ~LOG  index=get(sD_set_h,'Value');enddata=get(gcf,'UserData');data.undo = [];INDEX=data.sData.INDEX;data.sData=rmfield(data.sData,'MODIFIED'); data.sData=rmfield(data.sData,'INDEX');tmp=data.sD_set(index);tmp.MODIFIED=0;tmp.INDEX=index;data.sD_set(INDEX)=data.sData;data.sData=tmp;len=getfield(size(tmp.data),{1});data.selected_vects=find(ones(1,len));if ~LOG  data.LOG{length(data.LOG)+1}='% Select a new data set.';  data.LOG{length(data.LOG)+1}=sprintf('preprocess(''sel_sD'',''%s'');',...                                        num2str(index));endset(gcf,'UserData',data);write_sD_stats;set_compnames(tmp,comp_names_h);draw_vectors(ones(1,len),vector_h);vect_means(tmp,vect_mean_h,data.selected_vects);clear_button;sel_comp;cplot_mimema;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%function indices=get_indicespre_h=findobj(get(0,'Children'),'Tag','Preprocess');comp_names_h=getfield(get(pre_h,'UserData'),'comp_names_h');indices = get(comp_names_h,'Value');%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%function sD_management(varargin)if nargin ~= 1  pre_h=findobj(get(0,'Children'),'Tag','Preprocess');  preh_udata=get(pre_h,'UserData');  preh_udata.LOG{length(preh_udata.LOG)+1}=...           '% Starting the ''Data Set Management'' -window...';  preh_udata.LOG{length(preh_udata.LOG)+1}=...                 'preprocess(''sD_management'',''foo'');';

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲人成影院在线观看| 51精品秘密在线观看| 国产日韩欧美亚洲| 国产一区视频在线看| 2021国产精品久久精品| 国产成人久久精品77777最新版本 国产成人鲁色资源国产91色综 | 波多野结衣中文字幕一区二区三区 | 不卡电影免费在线播放一区| 国产精品国产馆在线真实露脸| 99re8在线精品视频免费播放| 亚洲精品国产成人久久av盗摄| 欧美日韩国产精品自在自线| 日本在线观看不卡视频| 国产亚洲欧美激情| 一本大道久久a久久综合| 天天射综合影视| 国产欧美一区二区精品性色| 日本福利一区二区| 蜜臀久久久久久久| 中文字幕乱码日本亚洲一区二区| 一本色道久久综合亚洲91| 日韩一区欧美二区| 国产亚洲欧美中文| 欧美性色黄大片手机版| 国产一区美女在线| 亚洲一区在线免费观看| 久久一区二区视频| 日本精品视频一区二区| 国内不卡的二区三区中文字幕 | 日韩欧美你懂的| 成人av手机在线观看| 亚瑟在线精品视频| 国产精品五月天| 欧美精品xxxxbbbb| 成人aaaa免费全部观看| 蜜臀av性久久久久蜜臀aⅴ流畅| 国产日产亚洲精品系列| 8x8x8国产精品| 色综合激情久久| 九色|91porny| 亚洲福利视频一区| 国产精品久久精品日日| 欧美一区二区三区视频在线 | 在线精品视频小说1| 韩国欧美国产1区| 婷婷综合在线观看| 中文字幕综合网| 久久综合色鬼综合色| 精品视频1区2区3区| 91在线视频官网| 国产99久久久久| 久久99国产乱子伦精品免费| 亚洲一区免费视频| 亚洲色图欧美激情| 国产精品区一区二区三| 久久久久久9999| 日韩欧美久久久| 在线不卡中文字幕播放| 色婷婷精品久久二区二区蜜臀av| 国产成人精品免费看| 久久99国产乱子伦精品免费| 亚洲国产精品久久艾草纯爱| 亚洲另类色综合网站| 国产精品欧美极品| 国产精品午夜免费| 国产欧美中文在线| 久久久夜色精品亚洲| 欧美精品一区二区久久久| 欧美一卡二卡三卡| 欧美精三区欧美精三区| 欧美日韩性生活| 欧美日本韩国一区| 欧美一区二区视频观看视频| 欧美日韩高清在线播放| 欧美精品视频www在线观看| 欧美午夜寂寞影院| 欧美日韩一卡二卡| 欧美丰满少妇xxxxx高潮对白| 欧美人伦禁忌dvd放荡欲情| 欧美精品在线观看播放| 欧美美女一区二区| 91精品国产色综合久久| 精品三级av在线| 久久久www成人免费毛片麻豆 | 中文字幕一区在线观看视频| 中文子幕无线码一区tr| 欧美国产日本韩| 中文字幕字幕中文在线中不卡视频| 亚洲欧洲99久久| 亚洲精品成人天堂一二三| 亚洲综合在线视频| 视频精品一区二区| 黄页视频在线91| 国产成人精品免费视频网站| 一本在线高清不卡dvd| 欧美区视频在线观看| 日韩欧美二区三区| 国产精品美女视频| 一区二区三区.www| 免费成人你懂的| 成人免费看视频| 在线国产亚洲欧美| www国产成人| 中文字幕av免费专区久久| 亚洲一区二区三区四区五区黄| 青椒成人免费视频| 不卡欧美aaaaa| 91麻豆精品国产自产在线| 久久久久久久综合狠狠综合| 亚洲一区二区三区在线| 久久精品国产亚洲高清剧情介绍| 成人禁用看黄a在线| 欧美日韩免费一区二区三区视频| 欧美成人一区二区三区| 亚洲欧美一区二区视频| 日韩国产精品久久久| 国产91精品在线观看| 欧美色涩在线第一页| 久久夜色精品一区| 午夜精品一区二区三区免费视频 | 在线观看国产日韩| 精品久久国产字幕高潮| 亚洲视频一区二区在线| 久久99热这里只有精品| 欧美性大战久久久久久久蜜臀 | 精品国产乱码久久久久久夜甘婷婷 | 亚洲一区中文在线| 国产成人av一区| 正在播放一区二区| 亚洲黄色性网站| 国产成人在线视频网址| 欧美一级片免费看| 中文字幕人成不卡一区| 九九九精品视频| 欧美日韩你懂的| 洋洋成人永久网站入口| a在线欧美一区| 欧美精品一区二区三区在线播放| 五月天激情综合| 色综合久久久网| 国产精品久久久久久福利一牛影视| 久久se这里有精品| 欧美日本在线看| 一区二区三区在线免费视频| 成人午夜电影网站| 久久综合狠狠综合| 秋霞午夜av一区二区三区| 欧美在线一区二区三区| 亚洲欧美一区二区三区国产精品| 国产91色综合久久免费分享| 2欧美一区二区三区在线观看视频 337p粉嫩大胆噜噜噜噜噜91av | 亚洲成人免费观看| 色视频成人在线观看免| 国产精品高潮呻吟久久| 国产剧情一区二区| 欧美va亚洲va国产综合| 蜜桃久久av一区| 欧美一区二区二区| 免费一级片91| 91精品在线观看入口| 日韩成人精品在线观看| 在线成人免费观看| 免费高清在线一区| 日韩免费电影一区| 毛片av中文字幕一区二区| 欧美电影免费提供在线观看| 免费人成在线不卡| 日韩精品中文字幕在线一区| 美日韩一级片在线观看| 欧美xxxx老人做受| 麻豆成人在线观看| www欧美成人18+| 成人免费看黄yyy456| 亚洲视频一区在线| 在线观看www91| 人妖欧美一区二区| 欧美电视剧免费观看| 国产一区二区三区免费看| 国产午夜亚洲精品羞羞网站| 懂色av一区二区夜夜嗨| 最新热久久免费视频| 欧洲人成人精品| 奇米色777欧美一区二区| 久久久三级国产网站| www.66久久| 亚洲成人综合视频| 精品欧美一区二区久久| 国产成人午夜电影网| 最近中文字幕一区二区三区| 日本高清不卡一区| 捆绑调教一区二区三区| 欧美激情资源网| 欧美性猛交xxxxxxxx| 激情成人综合网| 亚洲精品国产a| 日韩免费在线观看| 91视视频在线直接观看在线看网页在线看| 一区二区三区在线观看欧美| 日韩欧美中文字幕精品| 成人av电影在线播放|