Rank: 284 based on 281 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
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 data type, kronecker, class, oop, tensor, compact 72 2
  • 5.0
5.0 | 1 rating
08 Feb 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, indexing 24 0
07 Feb 2010 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 23 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 48 0
22 Jan 2010 Absolute Orientation - Horn's method Solves absolute orientation problem using Horn's quaternion-based method. Author: Matt J coordinate transforma..., point, registration, quaternion, absolute orientation 42 0
Comments and Ratings by Matt J View all
Updated File 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

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!!

31 Dec 2009 Structure Fields To Variables Tool for importing/exporting workspace variables to or from a struct. Author: 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.

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

Bruno - When I do

 mex -v -O setspvalmex.c

I get a compilation error:

Error setspvalmex.c: 626 compiler error in _kids--Bad rule number 0
 
  C:\PROGRA~1\MATLAB\R2009B\BIN\MEX.PL: Error: Compile of 'setspvalmex.c' failed.

Any idea what I'm doing wrong?

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
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 data type, kronecker, class, oop, tensor, compact 72 2
  • 5.0
5.0 | 1 rating
08 Feb 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, indexing 24 0
07 Feb 2010 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 23 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 48 0
22 Jan 2010 Absolute Orientation - Horn's method Solves absolute orientation problem using Horn's quaternion-based method. Author: Matt J coordinate transforma..., point, registration, quaternion, absolute orientation 42 0
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com