[Eeglablist] pop_resample out of memory?

Agnieszka Zuberer azuberer at googlemail.com
Wed May 17 01:08:02 PDT 2017


Dear eeglab-community,

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.


this is my memory capacity

Maximum possible array:      2901 MB (3.042e+09 bytes) *
Memory available for all arrays:      2901 MB (3.042e+09 bytes) *
Memory used by MATLAB:      6901 MB (7.236e+09 bytes)
Physical Memory (RAM):      7888 MB (8.271e+09 bytes)

*  Limited by System Memory (physical + swap file) available.



The code stucks exactly here (bold) in the windows function

% Kaiser
function w = kaiser(m, a)
    if nargin < 2 || isempty(a)
        a = 0.5;
    end
*    m = [-1:2 / (m - 1):1]';*
    w = besseli(0, a * sqrt(1 - m.^2)) / besseli(0, a);
end


Any help would be greatly appreciated.


Kind regards

Agnieszka
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20170517/9c08d00d/attachment.html>


More information about the eeglablist mailing list