Rank: 1240 based on 62 downloads (last 30 days) and 5 files submitted
photo

Petter

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Petter View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
11 Dec 2011 Screenshot Inpainting (coherency sensitive hashing) Image inpainting using coherency sensitive hashing (CSH) Author: Petter inpainting 16 0
05 Nov 2010 Published MATLAB Files INT64 arithmetic in MATLAB Enables int64 Addition, subtraction, multiplication, division and modulus. Author: Petter bitshift, addition, absolute value, multiplication, arithmetic, division 14 20
  • 5.0
5.0 | 6 ratings
09 Jul 2009 Jacobi and Legendre symbol JACOBI computes the Jacobi symbol (m/n), a generalization of the Legendre symbol. Author: Petter number theory, jacobi symbol 2 1
05 Jun 2009 Use C++ "new" and "delete" in MATLAB MEX files This code modífies "new" and "delete" to register all allocated memory with the memory manager. Author: Petter c, new, memory, delete, memory management 8 2
  • 5.0
5.0 | 2 ratings
12 Feb 2009 Published MATLAB Files 0-1 Knapsack Solves the 0-1 knapsack problem with positive integer weights. Author: Petter 01 knapsack, dynamic programming, knapsack 22 5
  • 5.0
5.0 | 3 ratings
Comments and Ratings by Petter View all
Updated File Comments Rating
12 Mar 2012 Kinect Microsoft SDK Video, Audio, Depth Stream and Skeleton tracking Author: Dirk-Jan Kroon

Since the SDK changed, the source files have to be modified. But it seems to be working well.

Also, the stopping problem is annoying.

23 Feb 2012 Read digits and labels from MNIST database Read digits from MNIST database available on http://yann.lecun.com/exdb/mnist/ Author: Sid H

Why crop the images?

23 Feb 2012 Read digits and labels from MNIST database Read digits from MNIST database available on http://yann.lecun.com/exdb/mnist/ Author: Sid H

30 Jan 2012 Scalable Vector Graphics (SVG) Export of Figures Converts 3D and 2D MATLAB plots to the scalable vector format (SVG). Author: Juerg Schwizer

The following seems to fix the ylabel issue:

if get(ax, 'YLabel') == id
x=fontsize*1.25*1.2;
end

after x is computed in text2svg.

30 Jan 2012 Scalable Vector Graphics (SVG) Export of Figures Converts 3D and 2D MATLAB plots to the scalable vector format (SVG). Author: Juerg Schwizer

ylabels end up too close to the yticks on the axis in the SVG file. The Matlab figure is correct.

Comments and Ratings on Petter's Files View all
Updated File Comment by Comments Rating
30 Mar 2012 INT64 arithmetic in MATLAB Enables int64 Addition, subtraction, multiplication, division and modulus. Author: Petter craq

Great functionality for those of us with pre-2011b versions. I had the same error as Vincent, and his solution worked for me too. Off the top of my head I couldn't figure out how to do the lshift and rshift, but I don't actually need them.

05 Aug 2011 INT64 arithmetic in MATLAB Enables int64 Addition, subtraction, multiplication, division and modulus. Author: Petter Jon

Seamless use. Well done Petter and thanks!

03 Jul 2011 Use C++ "new" and "delete" in MATLAB MEX files This code modífies "new" and "delete" to register all allocated memory with the memory manager. Author: Petter Hawren

tested. it is working

17 May 2011 INT64 arithmetic in MATLAB Enables int64 Addition, subtraction, multiplication, division and modulus. Author: Petter Petter

Vincent: Interesting. I thought the standard allowed the pasting of operators. Is this not true?

23 Feb 2011 Use C++ "new" and "delete" in MATLAB MEX files This code modífies "new" and "delete" to register all allocated memory with the memory manager. Author: Petter Tim

I think you're missing some: return ptr;

Top Tags Applied by Petter
01 knapsack, 3d, absolute value, addition, arithmetic
Files Tagged by Petter View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
11 Dec 2011 Screenshot Inpainting (coherency sensitive hashing) Image inpainting using coherency sensitive hashing (CSH) Author: Petter inpainting 16 0
05 Nov 2010 Published MATLAB Files INT64 arithmetic in MATLAB Enables int64 Addition, subtraction, multiplication, division and modulus. Author: Petter bitshift, addition, absolute value, multiplication, arithmetic, division 14 20
  • 5.0
5.0 | 6 ratings
09 Jul 2009 Jacobi and Legendre symbol JACOBI computes the Jacobi symbol (m/n), a generalization of the Legendre symbol. Author: Petter number theory, jacobi symbol 2 1
05 Jun 2009 Use C++ "new" and "delete" in MATLAB MEX files This code modífies "new" and "delete" to register all allocated memory with the memory manager. Author: Petter c, new, memory, delete, memory management 8 2
  • 5.0
5.0 | 2 ratings
12 Feb 2009 Published MATLAB Files 0-1 Knapsack Solves the 0-1 knapsack problem with positive integer weights. Author: Petter 01 knapsack, dynamic programming, knapsack 22 5
  • 5.0
5.0 | 3 ratings

Contact us