<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1504474389920_27560">Hello,</div><div id="yui_3_16_0_1_1504474389920_27561" dir="ltr">   I need to coregister and warp the montage of 128 Biosemi channels in preparation for DIPFIT or 3D plots but I get an error message.  This seems to be closely related to Bugzilla Bug 1025, in 2011, where the advice was to use fiducials (Ears and Nazion) to align the montages, but that information is not available for my datasets.  I was wondering if there were any more recent thoughts or fixes.  The error message I get is:</div><div id="yui_3_16_0_1_1504474389920_27868" dir="ltr"><br></div><div id="yui_3_16_0_1_1504474389920_27842" dir="ltr">Error using  - <br id="yui_3_16_0_1_1504474389920_27843">Matrix dimensions must agree.</div><div id="yui_3_16_0_1_1504474389920_27869" dir="ltr"><br></div><div id="yui_3_16_0_1_1504474389920_27870" dir="ltr">Error in warp_error (line 79)<br id="yui_3_16_0_1_1504474389920_27845"></div><div id="yui_3_16_0_1_1504474389920_27844" dir="ltr">  dif    = input - target;</div><div id="yui_3_16_0_1_1504474389920_27871" dir="ltr"><br></div><div id="yui_3_16_0_1_1504474389920_27846" dir="ltr">Error in fminsearch (line 190)<br id="yui_3_16_0_1_1504474389920_27847">fv(:,1) = funfcn(x,varargin{:});</div><div id="yui_3_16_0_1_1504474389920_27872" dir="ltr"><br></div><div id="yui_3_16_0_1_1504474389920_27848" dir="ltr">Error in warp_optim (line 126)<br id="yui_3_16_0_1_1504474389920_27849">  rf = optimfun(warp_error, ri, options, pos1, pos2, 'rigidbody');</div><div id="yui_3_16_0_1_1504474389920_27873" dir="ltr"><br></div><div id="yui_3_16_0_1_1504474389920_27850" dir="ltr">Error in electroderealign (line 275)<br id="yui_3_16_0_1_1504474389920_27851">  [norm.pnt, norm.m] = warp_optim(elec.pnt, avg, cfg.method);</div><div id="yui_3_16_0_1_1504474389920_27882" dir="ltr"><br></div><div id="yui_3_16_0_1_1504474389920_27852" dir="ltr">Error in coregister>warp_chans (line 650)<br id="yui_3_16_0_1_1504474389920_27853">    elec3 = electroderealign(cfg);</div><div id="yui_3_16_0_1_1504474389920_27884" dir="ltr"><br></div><div id="yui_3_16_0_1_1504474389920_27854" dir="ltr">Error in coregister (line 197)<br id="yui_3_16_0_1_1504474389920_27855">                    [ tmp dat.transform ] = warp_chans(dat.elec1, tmpelec2, tmpelec2.label(clist2),<br id="yui_3_16_0_1_1504474389920_27856">                    'traditional');<br id="yui_3_16_0_1_1504474389920_27857"> <br id="yui_3_16_0_1_1504474389920_27858">Error using waitfor<br id="yui_3_16_0_1_1504474389920_27859">Error while evaluating UIControl Callback  </div><div id="yui_3_16_0_1_1504474389920_27931" dir="ltr"><br></div><div id="yui_3_16_0_1_1504474389920_27927" dir="ltr"><br></div><div id="yui_3_16_0_1_1504474389920_27932" dir="ltr">Thanks in advance for any help.</div><div dir="ltr">Davida</div></div></body></html>