<div dir="ltr"><div dir="ltr"><div dir="ltr">Dear all, <div>I'm following the method developed by Stolk et al (2018) to localize the electrodes of ECoG data. </div><div>I'm getting this error on step 23 (Project the electrode grids to the surface hull of the implanted hemisphere) and I can't solve it. Could anyone help me with this? </div><div><br></div><div>Thanks, </div><div>Ignasi</div><div><br></div><div><br></div><div><div><i>using electrodes specified in the configuration</i></div><div><i>using warp algorithm described in Dykstra et al. 2012 Neuroimage PMID: 22155045</i></div><div><i>creating electrode pairs based on electrode positions</i></div><div><i><font color="#ff0000">Error using fmincon (line 241)</font></i></div><div><i><font color="#ff0000">You must provide a non-empty starting</font></i></div><div><i><font color="#ff0000">point.</font></i></div><div><i><font color="#ff0000">Error in warp_dykstra2012 (line 156)</font></i></div><div><i><font color="#ff0000">coord_snapped = fmincon(efun, coord0,</font></i></div><div><i><font color="#ff0000">[], [], [], [], [], [], cfun,</font></i></div><div><i><font color="#ff0000">options);</font></i></div><div><i><font color="#ff0000">Error in ft_electroderealign (line</font></i></div><div><i><font color="#ff0000">406)</font></i></div><div><i><font color="#ff0000">    norm.elecpos =</font></i></div><div><font color="#ff0000">    warp_dykstra2012(cfg, elec,</font></div><div><font color="#ff0000">    headshape); </font></div></div><div><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><span style="color:rgb(136,136,136)">Ignasi Sols </span></div><div><span style="color:rgb(136,136,136)">Postdoctoral Fellow</span><br></div><span style="color:rgb(136,136,136)">Department of Psychology</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">New York University</span><br></div></div></div></div></div></div></div></div>