Rank: 313402 based on 0 downloads (last 30 days) and 0 file submitted

Jens Munk Hansen

Technical University of Denmark

Personal Profile:


Watch this Author's files


Comments and Ratings by Jens Munk Hansen View all
Updated File Comments Rating
20 Apr 2012 EPS Utility Toolbox A set of functions to generate publisher-happy EPS images Author: Kesh Ikuma

Dear Kesh Ikuma

The tool compiled under linux, but I get the following error

??? Index exceeds matrix dimensions.

Error in ==> epsfixbackground at 71
figdim = str2num(tok{1}); %#ok

Temporary bugfix, for level 1 postscript

[I0,I1,tok] = regexp(imgdata,'\s+1\s+sg\s+0\s+0\s+(\d+\s+\d+)\s+PR\s+','start','end','tokens','once');

/Jens Munk Hansen

01 Mar 2012 mpgwrite The MPEG converter takes a MATLAB movie matrix and writes the movie to disk as an MPEG file. Author: David Foti

Tried your program running 64-bit linux and Matlab 2010b and Matlab2011a both with the gcc shipped with Ubuntu and with the versions supported by Matlab. They all crashes due a double free or stack corruption.

This is my sample program
A=moviein(numframes); % create the movie matrix
axis equal % fix the axes
for i=1:numframes

for i = 1:length(A)
if (i==1)
[r1,c1,s] = size(A(i).cdata);
rk = r1;
ck = c1;
[rk,ck,s] = size(A(i).cdata);
r1 = min(r1,rk);
c1 = min(c1,ck);

for i = 1:length(A)
[rk,ck] = size(A(i).cdata);
if ((rk~= r1) || (ck ~=c1))
A(i).cdata = A(i).cdata(1:r1, 1:c1,:);
% compare frame sizes
for i = 1:numframes
fprintf(1,'%d %d %d\n',i,size(A(i).cdata,1),size(A(i).cdata,2));


18 Nov 2011 N-dimensional sparse arrays Creates an N-dimensional sparse array object, for arbitrary N. Author: Matt J

Hey Matt

Nice idea, but bad implementation. I am working with a parameter study and data is extremely sparse, dimensions are 37x37x37x37x37x37x37, but I have less than 400 non-zero elements. The display function takes more than 10 hours to execute.

Why not simple store tubles and use an intelligent search?

09 Sep 2011 Speckle Size via Autocorrelation Outputs the size of speckles in an image that has a **uniform background**. Author: Joel

Hey Joel. I looked into your source and found that you have misunderstood how the correlation length can be obtained from the auto-covariance. You are using the FWHM of the fit. The correlation length is the value of the integral itself.

Contact us