<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div>Hi Arno, </div><div><br class=""></div><div>A number of years ago I looked at converting data to single during some of the internal operations for the Makeig implementation of Bell & Sejnowski ICA (ie. runica). This was to try and reduce memory usage for big data files. A few things came up in this process, I submitted a couple of bug reports, and you and I emailed back and forth. </div><div><br class=""></div><div>One thing I found out (thanks to Germán Gómez-Herrero and my own fiddling) was that many of the matlab toolboxes did not support single precision data at the time, and were not graceful in how they failed (ie. they messed up your data without telling you that anything was wrong). In particular, the signal processing toolbox did this.</div><div><br class=""></div><div>Not a big deal… you just have to remember to cast data to double before you apply any operations from the SP toolbox, as is done internally for filtering, resampling etc. But it would be easy for someone to be unaware of this, try some new approach with the SP toolbox, and find themselves with a mess… </div><div><br class=""></div><div>It wouldn’t surprise me if Mathworks has updated the commercial toolboxes to consistently and properly support singles. But it also wouldn’t surprise me if they haven’t. A few minutes of google hasn’t given me a clear answer. Do you know? </div><div><br class=""></div><div>thanks, </div><div>clayton</div><div><br class=""></div><div><br class=""></div><div><br class=""></div><div><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class=""><br class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Arnaud Delorme <<a href="mailto:arno@ucsd.edu" class="">arno@ucsd.edu</a>><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">Re: [Eeglablist] ICA running very slowly</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">February 4, 2017 at 4:47:32 PM GMT+1<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Andreas Widmann <<a href="mailto:widmann@uni-leipzig.de" class="">widmann@uni-leipzig.de</a>><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Cc: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">eeglablist <<a href="mailto:eeglablist@sccn.ucsd.edu" class="">eeglablist@sccn.ucsd.edu</a>><br class=""></span></div><br class=""><br class="">Yes, this is right which is why the data is automatically converted to double precision when filtering, resampling and ICA.<br class=""><br class="">Arno<br class=""></div></blockquote></div><br class=""></body></html>