Rank: 1184 based on 66 downloads (last 30 days) and 1 file submitted
photo

Jan Tore Korneliussen

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Jan Tore
Updated   File Tags Downloads
(last 30 days)
Comments Rating
08 May 2011 B-spline tools Basic toolbox for polynomial B-splines on a uniform grid. OO overloading of common operators. Author: Jan Tore Korneliussen splines, approximation, interpolation 66 1
  • 4.0
4.0 | 1 rating
Comments and Ratings by Jan Tore
Updated File Comments Rating
29 Apr 2010 json4mat This Matlab toolbox converts JSON formats into (json2mat) and from (mat2json) Matlab structures. Author: Jonas Almeida

Thanks for a very useful toolbox. I found a certain nesting of MATLAB structures and cell arrays which can not be taken for a round-trip to JSON and back. This snippet fails in the json2mat call:

mystruct0_f1.fieldA = 'A';
mystruct0_f1.fieldB = 'B';
mystruct0.field0 = 1;
mystruct0.field1 = mystruct0_f1;

mystruct1_f3.fieldC = 'C';
mystruct1_f3.fieldD = 'D';
mystruct1.field2 = 2;
mystruct1.field3 = mystruct1_f3;

mycarr = {mystruct0, mystruct1};

json2mat(mat2json(mycarr))

The output:

??? Reference to non-existent element of a cell array.

Error in ==> json2mat at 23
M=extract_struct(JJ{1}{1});

Error in ==> json2mat>extract_struct at 60
y.(t{1}{1})=json2mat(t{1}{2});

Error in ==> json2mat at 23
M=extract_struct(JJ{1}{1});

Error in ==> json2mat>extract_cell at 70
tag{i}=json2mat(x(indOC(i,1):indOC(i,2)));

Error in ==> json2mat at 26
M=extract_cell(JJ{1}{1});

Error in ==> jsontest at 13
json2mat(mat2json(mycarr))

Comments and Ratings on Jan Tore's Files
Updated File Comment by Comments Rating
19 Jan 2011 B-spline tools Basic toolbox for polynomial B-splines on a uniform grid. OO overloading of common operators. Author: Jan Tore Korneliussen Murthy, Srinivas

First of all, thanks a lot for the code..In bsplineNdtrans.m, roots of pole are being calculated and poles only between _1 to +1 are being considered. The roots of pole for any particular spline will be same and i feel this as a redundant calculation.
Also i am interested in calculating the partial derivatives(2-D data) i.e wrt x,y,xx,yy,xy,etc. It would be of great help if you can illustrate these calculations with the help of an example
Any help would be greatly appreciated..

Top Tags Applied by Jan Tore
approximation, http, interpolation, json, mtest
Files Tagged by Jan Tore View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
08 May 2011 B-spline tools Basic toolbox for polynomial B-splines on a uniform grid. OO overloading of common operators. Author: Jan Tore Korneliussen splines, approximation, interpolation 66 1
  • 4.0
4.0 | 1 rating
11 Jan 2011 (another) JSON Parser Parses JSON strings into structures and cell arrays. Author: François Glineur json, cells, javascript, parser, cell arrays, data import 51 19
  • 4.83333
4.8 | 6 ratings
19 Nov 2010 Published MATLAB Files MATLAB xUnit Test Framework MATLAB xUnit is a unit test framework for MATLAB code. Author: Steve Eddins mtest, unit test, xunit, test, this is a great work ..., testing 139 127
  • 5.0
5.0 | 40 ratings
08 Apr 2010 urlreadpost - url POST method with binary file uploading A replacement for urlread(url,'post',...) that allows POST to upload binary (file) data. Author: Dan Ellis http, binary, post, url, file, data import 18 1
  • 5.0
5.0 | 1 rating

Contact us