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

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

?? crossf.m

?? Cross frecuency relations
?? M
?? 第 1 頁 / 共 5 頁
字號:
%% Revision 1.18  2002/04/24 21:45:18  scott% topovec bug -sm%% Revision 1.17  2002/04/24 21:43:00  scott% editing topovec code -sm%% Revision 1.16  2002/04/24 21:02:28  scott% added topoplots of two heads -sm%% Revision 1.15  2002/04/24 02:43:18  arno% debugging amplitude coherence%% Revision 1.14  2002/04/20 00:53:14  arno% restorings some outputs options%% Revision 1.13  2002/04/19 23:20:23  arno% changing trial bootstrap, not optimal, waiting for further inputs%% Revision 1.12  2002/04/19 19:46:28  arno% crossf with new trial coherence bootstrap (minus mean)%% Revision 1.11  2002/04/12 18:10:55  scott% added note%% Revision 1.10  2002/04/12 01:30:43  arno% compatibility for returning frequencies with timef%% Revision 1.9  2002/04/12 01:13:40  arno% debuging no ploting option%% Revision 1.8  2002/04/12 01:08:13  arno% change plotamps to plotamp in help message%% Revision 1.7  2002/04/12 00:41:37  arno% programming baseboot%% Revision 1.6  2002/04/11 02:39:34  arno% updated header message%% Revision 1.5  2002/04/10 01:29:45  arno% adding vert optional input%% Revision 1.4  2002/04/09 19:36:38  arno% corrected bootstrap optional input%% Revision 1.3  2002/04/09 18:59:06  arno% corrected typo in header that made the function to crash%% Revision 1.2  2002/04/07 02:24:36  scott% worked on hlpe message, changed some defaults -sm%% Revision 1.1  2002/04/05 17:36:45  jorn% Initial revision%% 11-20-98 defined g.linewidth constant -sm% 04-01-99 made number of frequencies consistent -se% 06-29-99 fixed constant-Q freq indexing -se% 08-13-99 added cohangle plotting -sm% 08-20-99 made bootstrap more efficient -sm% 08-24-99 allow nan values introduced by possible eventlock() preproc. -sm% 03-05-2007 eventlock.m deprecated to eegalign.m. -tf% 03-16-00 added lead/lag interpretation to help msg - sm & eric visser% 03-16-00 added axcopy() feature -sm & tpj% 04-20-00 fixed Rangle sign for wavelets, added verts array -sm% 01-22-01 corrected help msg when nargin<2 -sm & arno delorme% 01-25-02 reformated help & license, added links -ad % 03-09-02 function restructuration -ad%  add 'key', val arguments (+ external baseboot, baseline, color axis, angleunit...)%  add detrending (across time and trials) + 'coher' option for amplitude coherence%  significance only if alpha is given, ploting options in 'plotamp' and 'plotphase'% 03-16-02 timeout automatically adjusted if too high -ad % 04-03-02 added new options for bootstrap -ad % Note: 3 "objects" (Tf, Coher and Boot) are handled by specific functions under Matlab%    (Tf) function Tf = tfinit(...) - create object Time Frequency (Tf) associated with some data%    (Tf) function [Tf, itcvals] = tfitc(...) - compute itc for the selected data%    (Tf) function [Tf, itcvals] = tfitcpost(Tf, trials) - itc normlisation %    (Tf) function [Tf, tmpX] = tfcomp(Tf, trials, times) - compute time freq. decomposition%    (Coher) function Coher = coherinit(...) - initialize coherence object%    (Coher) function Coher = cohercomp(Coher, tmpX, tmpY, trial, time) - compute coherence%    (Coher) function Coher = cohercomppost(Coher, trials) - coherence normalization%    (Boot) function Boot = bootinit(...) - intialize bootstrap object%    (Boot) function Boot = bootcomp(...) - compute bootstrap%    (Boot) function [Boot, Rbootout] = bootcomppost(...) - bootstrap normalization% and by real objects under C++ (C++ code, incomplete)function [R,mbase,times,freqs,Rbootout,Rangle, trialcoher, Tfx, Tfy] = crossf(X, Y, frame, tlimits, Fs, varwin, varargin)%varwin,winsize,nwin,oversmp,maxfreq,alpha,verts,caxmax)% ------------------------% Commandline arg defaults:% ------------------------DEFAULT_ANGLEUNIT = 'deg'; % angle plotting units - 'rad', 'ms', or 'deg'DEFAULT_EPOCH	= 750;			% Frames per epochDEFAULT_TIMELIM = [-1000 2000];	% Time range of epochs (ms)DEFAULT_FS		= 250;			% Sampling frequency (Hz)DEFAULT_NWIN	= 200;			% Number of windows = horizontal resolutionDEFAULT_VARWIN	= 0;			% Fixed window length or base on cycles.% =0: fix window length to nwin% >0: set window length equal varwin cycles%     bounded above by winsize, also determines%     the min. freq. to be computed.DEFAULT_OVERSMP	= 2;			% Number of times to oversample = vertical resolutionDEFAULT_MAXFREQ = 50;			% Maximum frequency to display (Hz)DEFAULT_TITLE	= 'Event-Related Coherence';			% Figure titleDEFAULT_ALPHA   = NaN;			% Default two-sided significance probability thresholdif (nargin < 2)   help crossf   returnendif ~iscell(X)	if (min(size(X))~=1 | length(X)<2)		fprintf('crossf(): X must be a row or column vector.\n');		return	elseif (min(size(Y))~=1 | length(Y)<2)		fprintf('crossf(): Y must be a row or column vector.\n');		return	elseif (length(X) ~= length(Y))		fprintf('crossf(): X and Y must have same length.\n');		return	endend;if (nargin < 3)   frame = DEFAULT_EPOCH;elseif (~isnumeric(frame) | length(frame)~=1 | frame~=round(frame))   fprintf('crossf(): Value of frames must be an integer.\n');   returnelseif (frame <= 0)   fprintf('crossf(): Value of frames must be positive.\n');   returnelseif ~iscell(X) & (rem(length(X),frame) ~= 0)   fprintf('crossf(): Length of data vectors must be divisible by frames.\n');   returnendif (nargin < 4)   tlimits = DEFAULT_TIMELIM;elseif (~isnumeric(tlimits) | sum(size(tlimits))~=3)   error('crossf(): Value of tlimits must be a vector containing two numbers.');elseif (tlimits(1) >= tlimits(2))   error('crossf(): tlimits interval must be [min,max].');endif (nargin < 5)   Fs = DEFAULT_FS;elseif (~isnumeric(Fs) | length(Fs)~=1)   error('crossf(): Value of srate must be a number.');elseif (Fs <= 0)   error('crossf(): Value of srate must be positive.');endif (nargin < 6)   varwin = DEFAULT_VARWIN;elseif (~isnumeric(varwin) | length(varwin)>2)   error('crossf(): Value of cycles must be a number or a (1,2) vector.');elseif (varwin < 0)   error('crossf(): Value of cycles must be either zero or positive.');end% consider structure for these arguments% --------------------------------------vararginori = varargin;for index=1:length(varargin)	if iscell(varargin{index}), varargin{index} = { varargin{index} }; end;end;if ~isempty(varargin)   try, g = struct(varargin{:});    catch, error('Argument error in the {''param'', value} sequence'); end; else 	g = [];end;try, g.shuffle;    catch, g.shuffle = 0; end;try, g.title;      catch, g.title = DEFAULT_TITLE; end;try, g.winsize;    catch, g.winsize = max(pow2(nextpow2(frame)-3),4); end;try, g.pad;        catch, g.pad = max(pow2(nextpow2(g.winsize)),4); end;try, g.timesout;   catch, g.timesout = DEFAULT_NWIN; end;try, g.padratio;   catch, g.padratio = DEFAULT_OVERSMP; end;try, g.maxfreq;    catch, g.maxfreq = DEFAULT_MAXFREQ; end;try, g.topovec;    catch, g.topovec = []; end;try, g.elocs;      catch, g.elocs = ''; end;try, g.alpha;      catch, g.alpha = DEFAULT_ALPHA; end;  try, g.marktimes;  catch, g.marktimes = []; end; % default no vertical linestry, g.marktimes = g.vert;       catch, g.vert = []; end; % default no vertical linestry, g.powbase;    catch, g.powbase = nan; end;try, g.rboot;      catch, g.rboot = nan; end;try, g.plotamp;    catch, g.plotamp = 'on'; end;try, g.plotphase;  catch, g.plotphase  = 'on'; end;try, g.plotbootsub;  catch, g.plotbootsub  = 'on'; end;try, g.detrep;     catch, g.detrep = 'off'; end;try, g.detret;     catch, g.detret = 'off'; end;try, g.baseline;   catch, g.baseline = NaN; end;try, g.baseboot;   catch, g.baseboot = 0; end;try, g.linewidth;  catch, g.linewidth = 2; end;try, g.naccu;      catch, g.naccu = 200; end;try, g.angleunit;  catch, g.angleunit = DEFAULT_ANGLEUNIT; end;try, g.cmax;       catch, g.cmax = 0; end; % 0=use data limitstry, g.type;       catch, g.type = 'phasecoher'; end; try, g.boottype;   catch, g.boottype = 'times'; end; try, g.subitc;     catch, g.subitc = 'off'; end;try, g.memory;     catch, g.memory = 'high'; end;try, g.compute;    catch, g.compute = 'matlab'; end;try, g.maxamp;     catch, g.maxamp = []; end;try, g.savecoher;  catch, g.savecoher = 0; end;try, g.noinput;    catch, g.noinput = 'no'; end;try, g.chaninfo;   catch, g.chaninfo = []; end;allfields = fieldnames(g);for index = 1:length(allfields)	switch allfields{index}	 case { 'shuffle' 'title' 'winsize' 'pad' 'timesout' 'padratio' 'maxfreq' 'topovec' 'elocs' 'alpha' ...		  'marktimes' 'vert' 'powbase' 'rboot' 'plotamp' 'plotphase' 'plotbootsub' 'detrep' 'detret' ...		  'baseline' 'baseboot' 'linewidth' 'naccu' 'angleunit' 'cmax' 'type' 'boottype' 'subitc' ...		  'memory' 'compute' 'maxamp' 'savecoher' 'noinput' 'chaninfo' };	  case {'plotersp' 'plotitc' }, disp(['crossf warning: timef option ''' allfields{index} ''' ignored']);	 otherwise disp(['crossf error: unrecognized option ''' allfields{index} '''']); beep; return;	end;end;g.tlimits = tlimits;g.frame   = frame;g.srate   = Fs;g.cycles  = varwin(1);if length(varwin)>1	g.cyclesfact = varwin(2);else 	g.cyclesfact = 1;end;g.type       = lower(g.type);g.boottype   = lower(g.boottype);g.detrep     = lower(g.detrep);g.detret     = lower(g.detret);g.plotphase  = lower(g.plotphase);g.plotbootsub = lower(g.plotbootsub);g.subitc     = lower(g.subitc);g.plotamp    = lower(g.plotamp);g.shuffle    = lower(g.shuffle);g.compute    = lower(g.compute);g.AXES_FONT  = 10;g.TITLE_FONT = 14;% testing arguments consistency% -----------------------------if (~ischar(g.title))   error('Title must be a string.');endif (~isnumeric(g.winsize) | length(g.winsize)~=1 | g.winsize~=round(g.winsize))   error('Value of winsize must be an integer number.');elseif (g.winsize <= 0)   error('Value of winsize must be positive.');elseif (g.cycles == 0 & pow2(nextpow2(g.winsize)) ~= g.winsize)   error('Value of winsize must be an integer power of two [1,2,4,8,16,...]');elseif (g.winsize > g.frame)   error('Value of winsize must be less than frame length.');endif (~isnumeric(g.timesout) | length(g.timesout)~=1 | g.timesout~=round(g.timesout))   error('Value of timesout must be an integer number.');elseif (g.timesout <= 0)   error('Value of timesout must be positive.');endif (g.timesout > g.frame-g.winsize)   g.timesout = g.frame-g.winsize;   disp(['Value of timesout must be <= frame-winsize, timeout adjusted to ' int2str(g.timesout) ]);endif (~isnumeric(g.padratio) | length(g.padratio)~=1 | g.padratio~=round(g.padratio))   error('Value of padratio must be an integer.');elseif (g.padratio <= 0)   error('Value of padratio must be positive.');elseif (pow2(nextpow2(g.padratio)) ~= g.padratio)   error('Value of padratio must be an integer power of two [1,2,4,8,16,...]');endif (~isnumeric(g.maxfreq) | length(g.maxfreq)~=1)   error('Value of g.maxfreq must be a number.');elseif (g.maxfreq <= 0)   error('Value of g.maxfreq must be positive.');elseif (g.maxfreq > Fs/2)   fprintf('Warning: input value of g.maxfreq larger that Nyquist frequency %3.4 Hz\n\n',Fs/2);endif isempty(g.topovec)   g.topovec = [];elseif min(size(g.topovec))==1   g.topovec = g.topovec(:);   if size(g.topovec,1)~=2      error('topovec must be a row or column vector.');   endend;if isempty(g.elocs)   g.elocs = '';elseif (~ischar(g.elocs)) & ~isstruct(g.elocs)   error('Channel location file must be a valid text file.');endif (~isnumeric(g.alpha) | length(g.alpha)~=1)   error('timef(): Value of g.alpha must be a number.\n');elseif (round(g.naccu*g.alpha) < 2)   fprintf('Value of g.alpha is out of the normal range [%g,0.5]\n',2/g.naccu);   g.naccu = round(2/g.alpha);   fprintf('  Increasing the number of bootstrap iterations to %d\n',g.naccu);endif g.alpha>0.5 | g.alpha<=0   error('Value of g.alpha is out of the allowed range (0.00,0.5).');endif ~isnan(g.alpha)   if g.baseboot > 0      fprintf('Bootstrap analysis will use data in baseline (pre-0) subwindows only.\n')   else      fprintf('Bootstrap analysis will use data in all subwindows.\n')   endendswitch g.angleunit   case { 'rad', 'ms', 'deg' },;   otherwise error('Angleunit must be either ''rad'', ''deg'', or ''ms''');end;    switch g.type   case { 'coher', 'phasecoher' 'phasecoher2' },;   otherwise error('Type must be either ''coher'' or ''phasecoher''');end;    switch g.boottype   case { 'times' 'timestrials' 'trials'},;   otherwise error('Boot type must be either ''times'', ''trials'' or ''timestrials''');

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美成人三级在线| 99在线精品免费| 日韩一级二级三级精品视频| 亚洲一区二区三区不卡国产欧美| av电影一区二区| 亚洲一区免费视频| 9191精品国产综合久久久久久| 丰满亚洲少妇av| 亚洲欧洲av在线| 欧美日韩久久不卡| 精品亚洲aⅴ乱码一区二区三区| 久久久综合精品| 在线中文字幕一区| 激情亚洲综合在线| 欧美经典三级视频一区二区三区| 91亚洲国产成人精品一区二区三| 亚洲国产视频网站| 精品国产青草久久久久福利| 丁香另类激情小说| 婷婷激情综合网| 中文字幕在线免费不卡| 91精品国产欧美一区二区| av中文字幕亚洲| 国产麻豆精品在线观看| 亚洲6080在线| 亚洲在线免费播放| 亚洲三级在线观看| 久久久不卡网国产精品二区| 欧美日韩在线三区| 91福利在线免费观看| av电影在线观看一区| 国产最新精品精品你懂的| 日韩高清不卡一区二区三区| 亚洲欧洲另类国产综合| 久久久久久99久久久精品网站| 欧美喷水一区二区| 91网址在线看| 99精品热视频| 91精品91久久久中77777| 国产精品一区二区在线播放| 麻豆久久久久久久| 看片的网站亚洲| 久久国产精品露脸对白| 青青草精品视频| 久久精品国产精品青草| 精品一区二区在线视频| 男女男精品网站| 久88久久88久久久| 国产精品77777| 99视频精品免费视频| 91美女蜜桃在线| 欧美少妇xxx| 久久综合丝袜日本网| 国产女同性恋一区二区| 亚洲欧美视频在线观看视频| 亚洲人成人一区二区在线观看 | 99国产一区二区三精品乱码| 国产精品一二三| 91国产成人在线| 精品国内二区三区| 国产精品乱码人人做人人爱| 亚洲一区二区三区四区不卡| 日韩av中文在线观看| 国产综合色精品一区二区三区| 成av人片一区二区| 日韩无一区二区| 亚洲日本护士毛茸茸| 蜜芽一区二区三区| 在线免费视频一区二区| 日韩你懂的在线观看| 亚洲日本在线a| 国产成人av电影在线观看| 欧美性一级生活| 中文字幕色av一区二区三区| 午夜av区久久| 色域天天综合网| 国产精品乱人伦| 国内精品伊人久久久久影院对白| 欧美性大战久久| 亚洲狠狠丁香婷婷综合久久久| 狠狠久久亚洲欧美| 欧美精品aⅴ在线视频| 亚洲男人的天堂网| 不卡一区二区在线| 中文字幕欧美区| 国产美女精品人人做人人爽| 日韩美女在线视频 | 国产精品国产a| 国产精品91xxx| 久久久久综合网| 成人综合婷婷国产精品久久免费| 精品国产精品网麻豆系列| 欧美aaaaa成人免费观看视频| 欧美性大战久久久久久久蜜臀| 一级特黄大欧美久久久| 日本乱码高清不卡字幕| 夜夜嗨av一区二区三区中文字幕| 成人永久免费视频| 亚洲激情自拍视频| 在线不卡a资源高清| 免费成人小视频| 国产精品午夜在线| 在线精品观看国产| 免费黄网站欧美| 国产偷国产偷精品高清尤物| 成人黄色电影在线 | 色嗨嗨av一区二区三区| 日韩二区三区在线观看| 久久精品夜夜夜夜久久| av一区二区久久| 日韩av网站在线观看| 中文子幕无线码一区tr| 91黄色免费版| 国产美女久久久久| 午夜精品国产更新| 欧美精品一区二| 欧美日韩国产小视频在线观看| 蜜桃精品视频在线观看| 亚洲欧洲日产国产综合网| 日韩免费电影一区| 欧美性xxxxx极品少妇| 国产电影精品久久禁18| 石原莉奈一区二区三区在线观看| 久久久久久毛片| 91麻豆精品国产| 在线观看不卡一区| 成人性生交大片免费看在线播放| 午夜视频在线观看一区二区| 亚洲色图视频网| 久久精品一区八戒影视| 欧美xxxxx牲另类人与| 欧美日韩在线免费视频| 色综合天天综合色综合av| www.视频一区| 91日韩精品一区| 色中色一区二区| 91黄色激情网站| 欧美性猛交xxxxxx富婆| 欧美亚洲丝袜传媒另类| 欧美视频完全免费看| 欧美视频中文字幕| 欧美精品日日鲁夜夜添| 日韩亚洲欧美成人一区| 日韩女优av电影在线观看| 26uuu久久综合| 国产精品视频一二三区| 国产精品蜜臀在线观看| 亚洲欧洲国产专区| ㊣最新国产の精品bt伙计久久| 亚洲男人的天堂网| 偷偷要91色婷婷| 国产精品一区二区黑丝| 懂色av一区二区夜夜嗨| 日本精品一级二级| 日韩一卡二卡三卡| 久久精品免视看| 亚洲精品国产精华液| 婷婷久久综合九色综合绿巨人 | 香蕉久久夜色精品国产使用方法 | 一区二区成人在线视频| 免费成人你懂的| 91在线免费看| 91精品福利在线一区二区三区| 精品剧情v国产在线观看在线| 中文成人综合网| 午夜精品久久久久久| 国产精品综合二区| 欧美片在线播放| 一级特黄大欧美久久久| 国产福利一区二区| 91精选在线观看| 一区二区三区色| 国产91丝袜在线播放| 69堂国产成人免费视频| 亚洲精品免费视频| av一区二区久久| 国产精品久久久久久福利一牛影视 | 亚洲福利视频一区| 97久久精品人人爽人人爽蜜臀| 日韩亚洲欧美综合| 日韩av一区二区在线影视| 91论坛在线播放| 综合电影一区二区三区 | 亚洲午夜电影在线| 色吊一区二区三区| 中文字幕免费不卡| 国产精品一区免费视频| 久久久久久久久99精品| 极品少妇xxxx精品少妇| 精品国产91久久久久久久妲己 | 在线日韩av片| 性做久久久久久免费观看欧美| 欧美影院一区二区三区| 亚洲一区在线视频观看| 欧美日本韩国一区| 精品一区二区三区在线视频| 日韩欧美激情在线| 国产v综合v亚洲欧| 中文字幕在线不卡视频| 欧洲视频一区二区|