Broken chart: high arrays eating all memory

I am working on tone mapping operators in HDR. My question is very simple. I want to scatter graphics of large arrays on Matlab 2015Ra with computer specifications Core i5 20GB RAM. Only a scatter plot absorbs all memory (about 92% of 20 GB). I need some suggestion for building high arrays. I know that Matlab 2018 has a binscatter function, but I have a lower version. Thank. Code example:

a=randn(21026304,1);
scatter(a,a); 

Only this code eats all the memory.

+4
source share

Source: https://habr.com/ru/post/1695931/


All Articles