<div dir="ltr">Dear Tyler,<div><br></div><div>By the way why don't you use SIFT instead of newcrossf? If you repeat newcrossf for multiple pairs, you'll suffer from some statistical problems (see SIFT manual for detail). SIFT is statistically and user-experiencewise better solution over newcrossf, so I strongly recommend you try it. Of course it comes with its own complication, but still there are huge merit over demerit.</div>
<div><br></div><div>Makoto</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-14 23:05 GMT-08:00 Arnaud Delorme <span dir="ltr"><<a href="mailto:arno@salk.edu" target="_blank">arno@salk.edu</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Dear Tyler,<div><br></div><div>newcrossf cannot compute statistics when processing continuous data. We will update the function to make that clearer.</div>
<div>Best,</div><div><br></div><div>Arno</div><div><br><div><div><div class="h5"><div>On Jan 30, 2014, at 10:38 PM, Tyler Grummett <<a href="mailto:tyler.grummett@flinders.edu.au" target="_blank">tyler.grummett@flinders.edu.au</a>> wrote:</div>
<br></div></div><blockquote type="cite"><div style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div><div class="h5"><div style="font-size:12pt;font-family:Calibri,Arial,Helvetica,sans-serif"><div style="margin-top:0px;margin-bottom:0px">Hello eeglablist,<br></div><div style="margin-top:0px;margin-bottom:0px"><br></div>
<div style="margin-top:0px;margin-bottom:0px">I am just having a problem with newcrossf where I am getting the following error message:<br></div><div style="margin-top:0px;margin-bottom:0px"><br></div><div><span style="font-family:arial,helvetica,sans-serif">At compilation, "formula" was determined to be a variable and this</span></div>
<div><span style="font-family:arial,helvetica,sans-serif"> variable is uninitialized. "formula" is also a function name and previous versions of MATLAB would</span></div><div><span style="font-family:arial,helvetica,sans-serif"> have called the function.</span></div>
<div><span style="font-family:arial,helvetica,sans-serif"> However, MATLAB 7 forbids the use of the same name in the same</span></div><div><span style="font-family:arial,helvetica,sans-serif"> context as both a function and a variable.</span></div>
<div><br style="font-family:arial,helvetica,sans-serif"></div><div><span style="font-family:arial,helvetica,sans-serif">Error in newcrossf (line 900)</span></div><div><span style="font-family:arial,helvetica,sans-serif"> Rbootout = bootstat(inputdata, formula, 'boottype', g.boottype, 'label', 'coherence', ...</span><br>
</div><div><br></div><div>The problem is that formula is blank. My data is continuous, so at line 443 it switches from type 'phasecoher' to 'crossspectrum' and then from then on it does not create a variable called formula. On line 873 it tries to create a variable called 'formulainit', which doesnt appear to be used in the function. Is that a bug or is it necessary to run the code?<br>
</div><div><br></div><div>Kind regards,<br></div><div><br></div><div>Tyler<br></div><div style="margin-top:0px;margin-bottom:0px"><br></div><div><div style="margin-top:0px;margin-bottom:0px"><br></div><div name="divtagdefaultwrapper" style="font-family:calibri,arial,helvetica,sans-serif;margin:0px">
<div style="font-family:tahoma;font-size:13px"><div style="font-family:tahoma;font-size:13px"><div style="font-family:tahoma;font-size:13px"><div style="font-size:13px">*************************<div style="font-family:tahoma">
<br></div><div><font face="Arial"><i>Tyler Grummett ( BBSc, BSc(Hons I))</i></font></div><div><font face="Arial"><i>PhD Candidate</i></font></div><div><font face="Arial"><i>Brain Signals Laboratory</i></font></div><div><font face="Arial"><i>Flinders University</i></font></div>
<div><font face="Arial"><i>Rm 5A301</i></font></div><div><font face="Arial"><i>Ext 66124</i></font></div></div></div></div></div></div></div></div></div></div>_______________________________________________<br>Eeglablist page:<span> </span><a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to<span> </span><a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>For digest mode, send an email with the subject "set digest mime" to<span> </span><a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.edu</a></div>
</blockquote></div><br></div></div><br>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br></blockquote></div><br><br clear="all"><div><br></div>
-- <br><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div>
</div>