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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? icaplot.m

?? FastICA25--快速獨立分量分解算法
?? M
字號:
function icaplot(mode, varargin);%ICAPLOT - plot signals in various ways%% ICAPLOT is mainly for plottinf and comparing the mixed signals and% separated ica-signals.%% ICAPLOT has many different modes. The first parameter of the function% defines the mode. Other parameters and their order depends on the% mode. The explanation for the more common parameters is in the end.%% Classic%     icaplot('classic', s1, n1, range, xrange, titlestr)%%     Plots the signals in the same manner as the FASTICA and FASTICAG%     programs do. All the signals are plotted in their own axis.%% Complot%     icaplot('complot', s1, n1, range, xrange, titlestr)%%     The signals are plotted on the same axis. This is good for%     visualization of the shape of the signals. The scale of the signals %     has been altered so that they all fit nicely.%% Histogram%     icaplot('histogram', s1, n1, range, bins, style)%     %     The histogram of the signals is plotted. The number of bins can be%     specified with 'bins'-parameter. The style for the histograms can%     be either 'bar' (default) of 'line'.%% Scatter%     icaplot('scatter', s1, n1, s2, n2, range, titlestr, s1label,%     s2label, markerstr)%%     A scatterplot is plotted so that the signal 1 is the 'X'-variable%     and the signal 2 is the 'Y'-variable. The 'markerstr' can be used%     to specify the maker used in the plot. The format for 'markerstr'%     is the same as for Matlab's PLOT. %% Compare%     icaplot('compare', s1, n1, s2, n2, range, xrange, titlestr,%     s1label, s2label)%%     This for for comparing two signals. The main used in this context%     would probably be to see how well the separated ICA-signals explain %     the observed mixed signals. The s2 signals are first scaled with%     REGRESS function.%% Compare - Sum%     icaplot('sum', s1, n1, s2, n2, range, xrange, titlestr, s1label,%     s2label)%%     The same as Compare, but this time the signals in s2 (specified by%     n2) are summed together.%% Compare - Sumerror%     icaplot('sumerror', s1, n1, s2, n2, range, xrange, titlestr,%     s1label, s2label)%     %     The same as Compare - Sum, but also the 'error' between the signal%     1 and the summed IC's is plotted.%%% More common parameters%     The signals to be plotted are in matrices s1 and s2. The n1 and n2%     are used to tell the index of the signal or signals to be plotted%     from s1 or s2. If n1 or n2 has a value of 0, then all the signals%     from corresponding matrix will be plotted. The values for n1 and n2 %     can also be vectors (like: [1 3 4]) In some casee if there are more%     than 1 signal to be plotted from s1 or s2 then the plot will%     contain as many subplots as are needed. %%     The range of the signals to be plotted can be limited with%     'range'-parameter. It's value is a vector ( 10000:15000 ). If range %     is 0, then the whole range will be plotted.%%     The 'xrange' is used to specify only the labels used on the%     x-axis. The value of 'xrange' is a vector containing the x-values%     for the plots or [start end] for begin and end of the range%     ( 10000:15000 or [10 15] ). If xrange is 0, then value of range%     will be used for x-labels.%%     You can give a title for the plot with 'titlestr'. Also the%     's1label' and 's2label' are used to give more meaningfull label for %     the signals.%%     Lastly, you can omit some of the arguments from the and. You will%     have to give values for the signal matrices (s1, s2) and the%     indexes (n1, n2)% @(#)$Id: icaplot.m,v 1.2 2003/04/05 14:23:58 jarmo Exp $switch mode%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  % 'dispsig' is to replace the old DISPSIG  % '' & 'classic' are just another names - '' quite short one :-) case {'', 'classic', 'dispsig'}   % icaplot(mode, s1, n1, range, xrange, titlestr)  if length(varargin) < 1, error('Not enough arguments.'); end  if length(varargin) < 5, titlestr = '';else titlestr = varargin{5}; end  if length(varargin) < 4, xrange = 0;else xrange = varargin{4}; end  if length(varargin) < 3, range = 0;else range = varargin{3}; end  if length(varargin) < 2, n1 = 0;else n1 = varargin{2}; end  s1 = varargin{1};  range=chkrange(range, s1);  xrange=chkxrange(xrange, range);  n1=chkn(n1, s1);  clf;    numSignals = size(n1, 2);  for i = 1:numSignals,    subplot(numSignals, 1, i);    plot(xrange, s1(n1(i), range));  end  subplot(numSignals,1, 1);  if (~isempty(titlestr))    title(titlestr);  end  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% case 'complot'  % icaplot(mode, s1, n1, range, xrange, titlestr)  if length(varargin) < 1, error('Not enough arguments.'); end  if length(varargin) < 5, titlestr = '';else titlestr = varargin{5}; end  if length(varargin) < 4, xrange = 0;else xrange = varargin{4}; end  if length(varargin) < 3, range = 0;else range = varargin{3}; end  if length(varargin) < 2, n1 = 0;else n1 = varargin{2}; end  s1 = remmean(varargin{1});  range=chkrange(range, s1);  xrange=chkxrange(xrange, range);  n1=chkn(n1, s1);    for i = 1:size(n1, 2)    S1(i, :) = s1(n1(i), range);  end    alpha = mean(max(S1')-min(S1'));  for i = 1:size(n1,2)    S2(i,:) = S1(i,:) - alpha*(i-1)*ones(size(S1(1,:)));  end    plot(xrange, S2');  axis([min(xrange) max(xrange) min(min(S2)) max(max(S2)) ]);    set(gca,'YTick',(-size(S1,1)+1)*alpha:alpha:0);  set(gca,'YTicklabel',fliplr(n1));    if (~isempty(titlestr))    title(titlestr);  end%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% case 'histogram'  % icaplot(mode, s1, n1, range, bins, style)  if length(varargin) < 1, error('Not enough arguments.'); end  if length(varargin) < 5, style = 'bar';else style = varargin{5}; end  if length(varargin) < 4, bins = 10;else bins = varargin{4}; end  if length(varargin) < 3, range = 0;else range = varargin{3}; end  if length(varargin) < 2, n1 = 0;else n1 = varargin{2}; end  s1 = varargin{1};  range = chkrange(range, s1);  n1 = chkn(n1, s1);    numSignals = size(n1, 2);  rows = floor(sqrt(numSignals));  columns = ceil(sqrt(numSignals));  while (rows * columns < numSignals)    columns = columns + 1;  end    switch style   case {'', 'bar'}    for i = 1:numSignals,      subplot(rows, columns, i);      hist(s1(n1(i), range), bins);      title(int2str(n1(i)));      drawnow;    end       case 'line'    for i = 1:numSignals,      subplot(rows, columns, i);      [Y, X]=hist(s1(n1(i), range), bins);      plot(X, Y);      title(int2str(n1(i)));      drawnow;    end   otherwise    fprintf('Unknown style.\n')  end%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% case 'scatter'  % icaplot(mode, s1, n1, s2, n2, range, titlestr, xlabelstr, ylabelstr, markerstr)  if length(varargin) < 4, error('Not enough arguments.'); end  if length(varargin) < 9, markerstr = '.';else markerstr = varargin{9}; end  if length(varargin) < 8, ylabelstr = 'Signal 2';else ylabelstr = varargin{8}; end  if length(varargin) < 7, xlabelstr = 'Signal 1';else xlabelstr = varargin{7}; end  if length(varargin) < 6, titlestr = '';else titlestr = varargin{6}; end  if length(varargin) < 5, range = 0;else range = varargin{5}; end  n2 = varargin{4};  s2 = varargin{3};  n1 = varargin{2};  s1 = varargin{1};  range = chkrange(range, s1);  n1 = chkn(n1, s1);  n2 = chkn(n2, s2);    rows = size(n1, 2);  columns = size(n2, 2);  for r = 1:rows    for c = 1:columns      subplot(rows, columns, (r-1)*columns + c);      plot(s1(n1(r), range),s2(n2(c), range),markerstr);      if (~isempty(titlestr))	title(titlestr);      end      if (rows*columns == 1)	xlabel(xlabelstr);	ylabel(ylabelstr);      else 	xlabel([xlabelstr ' (' int2str(n1(r)) ')']);	ylabel([ylabelstr ' (' int2str(n2(c)) ')']);      end      drawnow;    end  end  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% case {'compare', 'sum', 'sumerror'}  % icaplot(mode, s1, n1, s2, n2, range, xrange, titlestr, s1label, s2label)  if length(varargin) < 4, error('Not enough arguments.'); end  if length(varargin) < 9, s2label = 'IC';else s2label = varargin{9}; end  if length(varargin) < 8, s1label = 'Mix';else s1label = varargin{8}; end  if length(varargin) < 7, titlestr = '';else titlestr = varargin{7}; end  if length(varargin) < 6, xrange = 0;else xrange = varargin{6}; end  if length(varargin) < 5, range = 0;else range = varargin{5}; end  s1 = varargin{1};  n1 = varargin{2};  s2 = varargin{3};  n2 = varargin{4};  range = chkrange(range, s1);  xrange = chkxrange(xrange, range);  n1 = chkn(n1, s1);  n2 = chkn(n2, s2);  numSignals = size(n1, 2);  if (numSignals > 1)    externalLegend = 1;  else    externalLegend = 0;  end    rows = floor(sqrt(numSignals+externalLegend));  columns = ceil(sqrt(numSignals+externalLegend));  while (rows * columns < (numSignals+externalLegend))    columns = columns + 1;  end    clf;    for j = 1:numSignals    subplot(rows, columns, j);    switch mode     case 'compare'      plotcompare(s1, n1(j), s2,n2, range, xrange);      [legendtext,legendstyle]=legendcompare(n1(j),n2,s1label,s2label,externalLegend);     case 'sum'      plotsum(s1, n1(j), s2,n2, range, xrange);      [legendtext,legendstyle]=legendsum(n1(j),n2,s1label,s2label,externalLegend);     case 'sumerror'      plotsumerror(s1, n1(j), s2,n2, range, xrange);      [legendtext,legendstyle]=legendsumerror(n1(j),n2,s1label,s2label,externalLegend);    end        if externalLegend      title([titlestr ' (' s1label  ' ' int2str(n1(j)) ')']);    else      legend(char(legendtext));      if (~isempty(titlestr))	title(titlestr);      end    end  end    if (externalLegend)    subplot(rows, columns, numSignals+1);    legendsize = size(legendtext, 2);    hold on;    for i=1:legendsize      plot([0 1],[legendsize-i legendsize-i], char(legendstyle(i)));      text(1.5, legendsize-i, char(legendtext(i)));    end    hold off;    axis([0 6 -1 legendsize]);    axis off;  end  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%end%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%function plotcompare(s1, n1, s2, n2, range, xrange);  style=getStyles;  K = regress(s1(n1,:)',s2');  plot(xrange, s1(n1,range), char(style(1)));  hold on  for i=1:size(n2,2)    plotstyle=char(style(i+1));    plot(xrange, K(n2(i))*s2(n2(i),range), plotstyle);  end  hold offfunction [legendText, legendStyle]=legendcompare(n1, n2, s1l, s2l, externalLegend);  style=getStyles;  if (externalLegend)    legendText(1)={[s1l ' (see the titles)']};  else    legendText(1)={[s1l ' ', int2str(n1)]};  end  legendStyle(1)=style(1);  for i=1:size(n2, 2)    legendText(i+1) = {[s2l ' ' int2str(n2(i))]};    legendStyle(i+1) = style(i+1);  end%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%function plotsum(s1, n1, s2, n2, range, xrange);  K = diag(regress(s1(n1,:)',s2'));  sigsum = sum(K(:,n2)*s2(n2,:));  plot(xrange, s1(n1, range),'k-', ...       xrange, sigsum(range), 'b-');function [legendText, legendStyle]=legendsum(n1, n2, s1l, s2l, externalLegend);  if (externalLegend)    legendText(1)={[s1l ' (see the titles)']};  else    legendText(1)={[s1l ' ', int2str(n1)]};  end  legendText(2)={['Sum of ' s2l ': ', int2str(n2)]};  legendStyle={'k-';'b-'};%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%function plotsumerror(s1, n1, s2, n2, range, xrange);  K = diag(regress(s1(n1,:)',s2'));  sigsum = sum(K(:,n2)*s2(n2,:));  plot(xrange, s1(n1, range),'k-', ...       xrange, sigsum(range), 'b-', ...       xrange, s1(n1, range)-sigsum(range), 'r-');function [legendText, legendStyle]=legendsumerror(n1, n2, s1l, s2l, externalLegend);  if (externalLegend)    legendText(1)={[s1l ' (see the titles)']};  else    legendText(1)={[s1l ' ', int2str(n1)]};  end  legendText(2)={['Sum of ' s2l ': ', int2str(n2)]};  legendText(3)={'"Error"'};  legendStyle={'k-';'b-';'r-'};%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%function style=getStyles;  color = {'k','r','g','b','m','c','y'};  line = {'-',':','-.','--'};  for i = 0:size(line,2)-1    for j = 1:size(color, 2)      style(j + i*size(color, 2)) = strcat(color(j), line(i+1));    end  end%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%function range=chkrange(r, s)  if r == 0    range = 1:size(s, 2);  else    range = r;  end%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%function xrange=chkxrange(xr,r);  if xr == 0    xrange = r;  elseif size(xr, 2) == 2    xrange = xr(1):(xr(2)-xr(1))/(size(r,2)-1):xr(2);  elseif size(xr, 2)~=size(r, 2)    error('Xrange and range have different sizes.');  else    xrange = xr;  end%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%function n=chkn(n,s)  if n == 0    n = 1:size(s, 1);  end

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美不卡一区二区三区| 精品无人区卡一卡二卡三乱码免费卡| 乱中年女人伦av一区二区| 欧美亚洲日本国产| 国产精品麻豆网站| 国产呦萝稀缺另类资源| 欧美r级在线观看| 蜜桃久久久久久久| 欧美精品丝袜久久久中文字幕| 亚洲日韩欧美一区二区在线| 成人国产在线观看| 中文字幕一区二区三区不卡| 成人激情黄色小说| 亚洲欧洲成人自拍| 日本高清不卡在线观看| 亚洲风情在线资源站| 7777精品伊人久久久大香线蕉完整版| 午夜国产精品一区| 欧美一区二区三区小说| 精东粉嫩av免费一区二区三区| 日韩女优视频免费观看| 国内成人免费视频| 欧美国产精品一区二区| 91免费视频观看| 亚洲不卡一区二区三区| 久久伊人蜜桃av一区二区| 成人免费av资源| 亚洲成人av一区| 亚洲精品在线三区| 91伊人久久大香线蕉| 亚洲1区2区3区4区| 国产欧美精品一区二区三区四区| 91亚洲国产成人精品一区二区三| 一区二区国产盗摄色噜噜| 日韩精品一区二区三区蜜臀| 国产成人综合在线| 亚洲国产精品一区二区www| 久久亚洲综合av| 欧美性大战久久久久久久蜜臀| 精品一区二区影视| 亚洲视频在线一区| 久久久午夜精品| 欧美精品久久99久久在免费线 | 久久久夜色精品亚洲| 色悠悠久久综合| 国产综合成人久久大片91| 亚洲人成精品久久久久久| 日韩女优制服丝袜电影| 欧美日韩中文另类| av中文一区二区三区| 精品一区二区三区欧美| 亚洲午夜精品久久久久久久久| 国产拍欧美日韩视频二区| 日韩三级电影网址| 欧美日韩国产在线观看| 日本韩国欧美国产| 97国产一区二区| 日韩高清在线一区| 午夜精品福利一区二区三区av| 亚洲同性同志一二三专区| 久久嫩草精品久久久精品一| 欧美变态tickling挠脚心| 欧美日韩国产美女| 欧美日韩夫妻久久| 色视频成人在线观看免| 色婷婷久久99综合精品jk白丝| av在线这里只有精品| 懂色av中文一区二区三区| 国产精品正在播放| 国产成人99久久亚洲综合精品| 国产一区二区三区香蕉| 国模冰冰炮一区二区| 国产一区不卡视频| 国产成人精品免费网站| 波多野结衣在线一区| 成人毛片视频在线观看| 91免费版在线| 欧美日韩亚洲另类| 欧美变态凌虐bdsm| 国产精品欧美一级免费| 亚洲综合在线免费观看| 偷窥少妇高潮呻吟av久久免费| 免费观看一级欧美片| 国产精品456| 色综合久久综合网97色综合| 欧美三级在线播放| 日韩欧美一卡二卡| 国产精品短视频| 丝袜美腿亚洲色图| 国产精品18久久久久久久久| 91论坛在线播放| 精品日产卡一卡二卡麻豆| 国产精品美女www爽爽爽| 夜夜嗨av一区二区三区网页| 日韩中文字幕亚洲一区二区va在线| 精品夜夜嗨av一区二区三区| 成人性生交大片| 欧美一级片在线| 亚洲视频一区二区在线观看| 久久99热这里只有精品| 91蜜桃网址入口| 精品播放一区二区| 午夜天堂影视香蕉久久| 成人性生交大合| 亚洲精品在线观看视频| 午夜在线电影亚洲一区| 成人精品在线视频观看| 91精品国产91久久久久久一区二区 | 一区二区三区资源| 国产成人精品午夜视频免费| 日韩视频在线永久播放| 伊人开心综合网| 99久久久国产精品| 国产网红主播福利一区二区| 美女网站一区二区| 欧美男同性恋视频网站| 亚洲乱码国产乱码精品精的特点 | 欧美a一区二区| 欧美日韩一本到| 亚洲电影一区二区三区| 色国产精品一区在线观看| 中文字幕在线免费不卡| 成人一区二区三区在线观看| 亚洲精品一线二线三线| 久久狠狠亚洲综合| 精品国产一区二区三区av性色 | 午夜视黄欧洲亚洲| 欧美日韩精品一区二区三区| 亚洲综合色区另类av| 91久久免费观看| 五月婷婷欧美视频| 欧美一区二区三区公司| 免费观看在线综合色| 久久在线观看免费| 99久久777色| 亚洲成在线观看| 欧美女孩性生活视频| 亚洲电影第三页| 欧美一区二区黄| 日韩电影网1区2区| 欧美xxxx在线观看| 韩国一区二区视频| 国产亚洲精品aa午夜观看| 不卡av在线免费观看| 亚洲欧美色图小说| 成人午夜视频福利| 一区二区三区中文字幕精品精品| 在线免费观看一区| 丝袜脚交一区二区| 欧美精品一区二区三区蜜桃视频| 精品一区二区三区在线播放视频| 久久久久久免费| 一本一道波多野结衣一区二区| 亚洲午夜免费电影| 日韩久久精品一区| 国产成人日日夜夜| 亚洲成人午夜电影| 日韩美女主播在线视频一区二区三区| 国产伦精品一区二区三区视频青涩 | 欧美精品视频www在线观看| 日韩国产一二三区| 欧美国产综合一区二区| 91小视频在线| 激情综合色播五月| 亚洲摸摸操操av| 日韩区在线观看| 处破女av一区二区| 五月天国产精品| 亚洲欧洲精品一区二区三区| 91精品国产色综合久久不卡蜜臀| 国产91精品久久久久久久网曝门 | 不卡的av电影在线观看| 男人的天堂久久精品| 一区二区三区色| 国产日产欧美精品一区二区三区| 91麻豆产精品久久久久久| 狠狠狠色丁香婷婷综合久久五月| 亚洲午夜激情网页| 亚洲女人****多毛耸耸8| 久久综合99re88久久爱| 在线观看精品一区| 91欧美一区二区| 成人高清av在线| 国模大尺度一区二区三区| 亚洲电影一区二区三区| 一区二区三区日韩欧美| 久久久不卡网国产精品二区| 日韩免费高清电影| 欧美精品一级二级| 欧美日韩一区二区三区视频| 欧美性xxxxx极品少妇| 91免费版在线看| 在线免费不卡视频| 日本伦理一区二区| 欧美专区亚洲专区| 欧美日韩一区二区在线视频| 在线中文字幕不卡| 欧美日韩五月天| 欧美日韩国产成人在线91| 欧美精品久久久久久久多人混战|