Rank: 5398 based on 13 downloads (last 30 days) and 1 file submitted
photo

Przemyslaw

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by Przemyslaw
Updated   File Tags Downloads
(last 30 days)
Comments Rating
29 Aug 2014 Screenshot DM Utils (data mining utils) The tools for dealing with distance matrix, improving data mining capabilities Author: Przemyslaw data mining, shared memory, parallel computing 13 0
Comments and Ratings by Przemyslaw View all
Updated File Comments Rating
23 Aug 2013 EzyFit 2.42 A free curve fitting toolbox for Matlab Author: Frederic Moisy

29 Jun 2011 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Hi Joshua. I really appreciate Your piece of code. I plan to use it in near future but i see one prospective drawback that could be potentially simply to overcome (i hope at least).
I mean if you want to work on really large amount of data that there is a moment when you need to store in memory two copies of it.

C = rand(13000,13000);
shmkey=1234567;
shmsiz=sharedmatrix('clone',shmkey,C);% double memory usage
clear C; %until this moment

Is it possible to add a directive like 'alloc' or something in this way to allocate a matrix in a SHM?
To fill it with data from file (f.e) so one wouldn't have two copies of the data - so swapping wouldn't be necessary.
so it could work like this

shmkey=1234567;
[C,shmsiz]=sharedmatrix('alloc',shmkey,[13000 13000],'double');
C(:,:) = rand(13000,13000);

Contact us