Rank: 482 based on 168 downloads (last 30 days) and 8 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
01 Sep 2010 Published MATLAB Files On-The-Fly Definition of Custom Matrix Objects Class of matrix-like objects with on-the-fly definable methods. Author: Matt J matrix, oop, onthefly, matrixobj, operator 36 0
05 Aug 2010 Efficient Object-Oriented Kronecker Product Manipulation A class for efficient manipulation of N-fold Kronecker products in terms of their operands only. Author: Matt J data type, kronecker, class, oop, tensor, compact 30 2
  • 5.0
5.0 | 1 rating
09 Apr 2010 Absolute Orientation - Horn's method Solves absolute orientation problem using Horn's quaternion-based method. Author: Matt J absolute orientation, quaternion, registration, point, coordinate transforma... 37 0
13 Mar 2010 Direct Indexing of Function Calls (OOP Exercise) Pseudo- function handle which can both call a function and post-index the output in 1 expression. Author: Matt J fancy function, function, indexablefunction, indexing 7 0
06 Feb 2010 Screenshot Regular Control Point Interpolation Matrix with Boundary Conditions Creates Toeplitz-like matrices representing interpolation operations with edge conditions. Author: Matt J spline, interpolation, curve fit, circulant, bspline, toeplitz 17 0
Comments and Ratings by Matt J View all
Updated File Comments Rating
07 Jun 2010 2D polygon interior detection Detect a whereas a point is interior or exterior to a 2D polygon Author: Bruno Luong

Does this submission apply to convex polygons or general ones? If the latter, there should be a way to make it faster if the polygon is known a priori to be convex. Perhaps an input parameter to enable this...

12 May 2010 linkdatatips Creates and maintains linked datatips in all plots as the user moves around the first plot Author: Iram Weinstein

Pretty nice. It's about time someone figured out how to do this. My one wish would be that it be possible to trigger a linked datatip from any of the plots in the set, and not just fig(1). That way I wouldn't have to relaunch the function and reorder the input handles everytime I need a different image to serve as the reference.

23 Feb 2010 Efficient Object-Oriented Kronecker Product Manipulation A class for efficient manipulation of N-fold Kronecker products in terms of their operands only. Author: Matt J

Oleg, I fixed some of the ragged text justification and uncommented some of the text. Not sure if those were the unreadabilities that you were talking about, though. The Description editor is a little unwieldy and gives me very limited control of spacing.

01 Feb 2010 MATLAB trilinear interpolation A Matlab mex function to perform trilinear interpolation. Author: Mehmet OZTURK

Have you ever tried compiling this under LCC? I get a slew of errors when I do. Visual C works fine.

31 Dec 2009 Sparse sub access This package allows to retrieve and assign values of sparse matrix in one shot. Author: Bruno Luong

Yep, that workaround fixed it. Anyway, I like it!!

Comments and Ratings on Matt J's Files View all
Updated File Comment by Comments Rating
23 Feb 2010 Efficient Object-Oriented Kronecker Product Manipulation A class for efficient manipulation of N-fold Kronecker products in terms of their operands only. Author: Matt J Matt J

Oleg, I fixed some of the ragged text justification and uncommented some of the text. Not sure if those were the unreadabilities that you were talking about, though. The Description editor is a little unwieldy and gives me very limited control of spacing.

22 Feb 2010 Efficient Object-Oriented Kronecker Product Manipulation A class for efficient manipulation of N-fold Kronecker products in terms of their operands only. Author: Matt J Komarov, Oleg

You may consider to edit the description since it's really unreadable. No way I'm gonna get past all those blocks of comments and those funny spaced examples.

12 Jan 2010 Efficient Object-Oriented Kronecker Product Manipulation A class for efficient manipulation of N-fold Kronecker products in terms of their operands only. Author: Matt J Sean

31 Dec 2009 Structure Fields To Variables Tool for importing/exporting workspace variables to or from a struct. Author: Matt J Matt J

Hi urs, Thanks for the feedback. I need the loop to prevent large spacings between columns that can result when the fieldnames are of very different lengths. I also need the extra variables you mention to ensure that there will be no empty columns (a semantic point mainly). If you try your suggested code with nCols=3 and

myStruct.a=1; myStruct.b=4; myStruct.cccccccc=7; myStruct.dddddddd=9;

you will see what I mean.

31 Dec 2009 Structure Fields To Variables Tool for importing/exporting workspace variables to or from a struct. Author: Matt J us

an interesting decoder...
however, the code could be simplified as shown below
in particular, there is no need for
- various temporary vars
- a loop

%...
fields=fieldnames(S);
sname=inputname(idx);
if isempty(sname), sname='S'; end
nf=numel(fields);
nr=ceil(nf/nCols);
assigns=repmat({' '},nr,nCols);
if RHS
assigns(1:nf)=cellfun(@(f) [f ' = ' sname '.' f '; '],fields,'uni',0);
else
assigns(1:nf)=cellfun(@(f) [sname '.' f ' = ' f '; '],fields,'uni',0);
end
assigns=reshape(char(assigns.').',[],nr).';

just a thought...
us

Top Tags Applied by Matt J
oop, class, data type, indexing, absolute orientation
Files Tagged by Matt J View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
01 Sep 2010 Published MATLAB Files On-The-Fly Definition of Custom Matrix Objects Class of matrix-like objects with on-the-fly definable methods. Author: Matt J matrix, oop, onthefly, matrixobj, operator 36 0
05 Aug 2010 Efficient Object-Oriented Kronecker Product Manipulation A class for efficient manipulation of N-fold Kronecker products in terms of their operands only. Author: Matt J data type, kronecker, class, oop, tensor, compact 30 2
  • 5.0
5.0 | 1 rating
09 Apr 2010 Absolute Orientation - Horn's method Solves absolute orientation problem using Horn's quaternion-based method. Author: Matt J absolute orientation, quaternion, registration, point, coordinate transforma... 37 0
13 Mar 2010 Direct Indexing of Function Calls (OOP Exercise) Pseudo- function handle which can both call a function and post-index the output in 1 expression. Author: Matt J fancy function, function, indexablefunction, indexing 7 0
06 Feb 2010 Screenshot Regular Control Point Interpolation Matrix with Boundary Conditions Creates Toeplitz-like matrices representing interpolation operations with edge conditions. Author: Matt J spline, interpolation, curve fit, circulant, bspline, toeplitz 17 0

Contact us at files@mathworks.com