<div dir="ltr">Dear eeglab-community,<div><br></div><div>While trying to down-sample my continuous data set of only 3 min recording with an original sampling rate of 512 to 256, pop_resample() tells me I am out of memory. I tried to resample with and without previous low pass filtering of 45 Hz.</div><div><br></div><div><br></div><div>this is my memory capacity</div><div><br></div><div><div>Maximum possible array:      2901 MB (3.042e+09 bytes) *</div><div>Memory available for all arrays:      2901 MB (3.042e+09 bytes) *</div><div>Memory used by MATLAB:      6901 MB (7.236e+09 bytes)</div><div>Physical Memory (RAM):      7888 MB (8.271e+09 bytes)</div><div><br></div><div>*  Limited by System Memory (physical + swap file) available.</div></div><div><br></div><div><br></div><div><br></div><div>The code stucks exactly here (bold) in the windows function</div><div><br></div><div><div>% Kaiser</div><div>function w = kaiser(m, a)</div><div>    if nargin < 2 || isempty(a)</div><div>        a = 0.5;</div><div>    end</div><div><b>    m = [-1:2 / (m - 1):1]';</b></div><div>    w = besseli(0, a * sqrt(1 - m.^2)) / besseli(0, a);</div><div>end</div><div><br></div><div><br></div><div>Any help would be greatly appreciated.</div><div><br></div><div><br></div><div>Kind regards</div><div><br></div><div>Agnieszka</div>
</div></div>