Rank: 117 based on 591 downloads (last 30 days) and 18 files submitted
photo

Matt J

E-mail

Personal Profile:
Professional Interests:
medical image processing, optimization algorithms

 

Watch this Author's files

 

Files Posted by Matt J View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
07 Mar 2014 Clean anonymous functions of excess memory Tries to purge an anonymous function of non-essential workspace variables Author: Matt J anonymous function, memory, parfor 12 0
06 Jan 2014 Screenshot Representing Polyhedral Convex Hulls by Vertices or (In)Equalities Express bounded polyhedron via equalities/inequalities or vertices. Author: Matt J vert2con, polyhedron, polytope, vertices, convex hull, convhull 55 39
  • 5.0
5.0 | 12 ratings
11 Dec 2013 FUNC2MAT: Convert linear function to matrix A utility to obtain the matrix representing a given linear function Author: Matt J linear function, matrix form, gradient, transpose, optimization toolbox, parameter estimation 18 0
13 Mar 2013 N-dimensional sparse arrays Creates an N-dimensional sparse array object, for arbitrary N. Author: Matt J sparse, ndimensional, multidimensional, oop, reshape, sparse array 55 72
  • 4.58333
4.6 | 12 ratings
15 Feb 2012 Split nD-array into equal sized cells Splits an array of any dimension into cell array of equal sized chunks. Author: Matt J blockproc, mat2cell, block, blocks, 8x8, dct 34 0
Comments and Ratings by Matt J View all
Updated File Comments Rating
19 Jul 2014 uitable UITABLE creates a 2D graphic uitable as an alternative to MATLAB 7's UITABLE (MATLAB 6.5, no-JAVA mo Author: Todd Pataky

19 Jun 2014 uitable UITABLE creates a 2D graphic uitable as an alternative to MATLAB 7's UITABLE (MATLAB 6.5, no-JAVA mo Author: Todd Pataky

It's almost exactly what I need, but with some unfortunate flaws. I'd be willing to raise my rating if the table and its window were made resizable. Also, it is strange that an error message

Error using guitable>callback_close (line 1347)
Use the "OK" or "cancel" button to exit modal mode.

is given when trying to close the table window. Seems to me that the close button should simply be interpreted as "cancel".

18 Jun 2014 MTIMESX - Fast Matrix Multiply with Multi-Dimensional Support Beats MATLAB 300% - 400% in some cases ... really! Author: James Tursa

Thanks, James. This thread describes where the information has moved to

http://www.mathworks.com/matlabcentral/answers/67521#answer_138814

I can post those xml files somewhere, if you like. However, is there no way to get mtimesx to compile simply with the "mex" command, maybe with a small sacrifice in performance?

03 Jun 2014 MTIMESX - Fast Matrix Multiply with Multi-Dimensional Support Beats MATLAB 300% - 400% in some cases ... really! Author: James Tursa

Thought I'd ping again. It doesn't look like mtimesx_build is compatible with R2014, since it looks for mexopts.bat, which is now gone. Can we hope to get a version that supports R2014? James?

29 May 2014 MTIMESX - Fast Matrix Multiply with Multi-Dimensional Support Beats MATLAB 300% - 400% in some cases ... really! Author: James Tursa

I have the same problem as Safdar in R2014a. Even after running mex -setup, it appears as though mtimesx_build cannot find mexopts.bat. Possibly, the locations of relevant files/directories may have shifted?

Comments and Ratings on Matt J's Files View all
Updated File Comment by Comments Rating
23 Jun 2014 Absolute Orientation - Horn's method Solves weighted absolute orientation problem using Horn's quaternion-based method. Author: Matt J Bar-Yehuda, Zohar

14 Apr 2014 Absolute Orientation - Horn's method Solves weighted absolute orientation problem using Horn's quaternion-based method. Author: Matt J Matt J

@Steve,
The points must be placed into the columns of a and b, not the rows.

14 Apr 2014 Absolute Orientation - Horn's method Solves weighted absolute orientation problem using Horn's quaternion-based method. Author: Matt J Steve

One question about the translation vector (regParams.t):
I have the following 3 points before rotation:
A1 = (400, 400, 200,)
A2 = (600, 600, 200,)
A3 = (2000, 2000, 2000)
and after rotation:
B1 = (400, 400, 200,)
B2 = (600, 600, 200,)
B3 = (2000, 2000, 2001)
so all point are the same, just B3z is 2001 instead of 2000. Then the computed translation vector using your code is: (162, -76,4001)
What doesn't make sense to me? Because just one single point changed it's z-value from 2000 to 2001 what is just a difference of 1...?
Nevertheless, the result seems to be right, because:
b(:,1) = regParams.R * a(:,1) + regParams.t
is true...

14 Apr 2014 Absolute Orientation - Horn's method Solves weighted absolute orientation problem using Horn's quaternion-based method. Author: Matt J Steve

Thanks for this very nice tool!

31 Mar 2014 3D Rotation about Shifted Axis Computes/applies rotation about arbitrary 3D line. Author: Matt J Sagar

Contact us