Rank: 2 based on 10192 downloads (last 30 days) and 59 files submitted
photo

John D'Errico

E-mail
Company/University
Consultant
Lat/Long
43.236435, -76.93324

Personal Profile:

Retired from the Eastman Kodak Company, where I was an applied mathematician consulting typically on matters of curve fitting, modeling, and numerical analysis. I enjoy playing bridge, doing woodworking and woodturning, and going for walks. We have a sweet wire hair fox terrier. In my spare time I still like to use Matlab.

Professional Interests:
Numerical analysis, mathematical modeling

 

Watch this Author's files

 

Files Posted by John View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
29 Oct 2009 Published M-Files Variable Precision Integer Arithmetic Arithmetic with integers of fully arbitrary size. Arrays and vectors of vpi numbers are supported. Author: John D'Errico toolbox, projecte, rabin, biginteger, mersenne, data type 191 27
  • 4.66667
4.7 | 16 ratings
29 Oct 2009 Published M-Files SLM - Shape Language Modeling Least squares spline modeling using shape primitives Author: John D'Errico shape, modeling, interpolation, spline, splines, slm 333 11
  • 5.0
5.0 | 10 ratings
23 Jun 2009 Screenshot insphere Inscribed sphere, entirely inside the facets of a 3-d convex hull Author: John D'Errico circumsphere, convex hull, computational geometr..., sphere, insphere 108 1
  • 5.0
5.0 | 1 rating
17 Jun 2009 A*B = k*B*A Solves the homogeneous linear system A*B = k*B*A Author: John D'Errico homogeneous, linear, riccati, system, linear algebra 153 4
  • 3.0
3.0 | 2 ratings
17 Jun 2009 Screenshot incircle.m In-circle of a convex polygon, or of the convex hull of a set of points in two dimensions Author: John D'Errico computational geometr..., incircle, convex hull, circle, polygon, inscribed circle 129 2
  • 5.0
5.0 | 2 ratings
Comments and Ratings by John View all
Updated File Comments Rating
16 Nov 2009 Polyfitn N-d polynomial regression model Author: John D'Errico

As I explained the first time, you need to put polyfitn into a directory that is on your search path.

help addpath
help savepath
help pathtool

Your particular test problem gives me the results:

uv = rand(100,2);
w = sin(sum(uv,2));
p = polyfitn(uv,w,'u, v');

polyn2sympoly(p)
ans =
    0.76152*u + 0.73572*v

Nothing special needs be done except putting it in a directory where matlab can find it.

16 Nov 2009 Polyfitn N-d polynomial regression model Author: John D'Errico

If you are trying to place downloaded files into the Matlab/toolbox directories, this is generally wrong. Those directories are cached by matlab when it starts up, so any files that you put in those directories will not be seen until you restart matlab. Also, anytime you make any changes to files that you put in those directories, the changes will not be recognized by matlab.

Better is to create your own new (and separate) directory for downloaded files. Add that directory on your search path, using the pathtool function, or using addpath and then savepath.

04 Nov 2009 Counter. Counter. Hours, minutes and seconds. Author: pablo_zuniga Zúñiga

There is no purpose at all in this mess. Nothing at all of value.

04 Nov 2009 Counter. Counter. Hours, minutes and seconds. Author: pablo_zuniga Zúñiga

29 Oct 2009 SLM - Shape Language Modeling Least squares spline modeling using shape primitives Author: John D'Errico

The new version just got uploaded to repair the 'active-set' problems incurred with the newer optimization toolbox releases.

Comments and Ratings on John's Files View all
Updated File Comment by Comments Rating
21 Nov 2009 SLM - Shape Language Modeling Least squares spline modeling using shape primitives Author: John D'Errico Cheng, Raymond

Thanks for your sharing.

16 Nov 2009 Polyfitn N-d polynomial regression model Author: John D'Errico D'Errico, John

As I explained the first time, you need to put polyfitn into a directory that is on your search path.

help addpath
help savepath
help pathtool

Your particular test problem gives me the results:

uv = rand(100,2);
w = sin(sum(uv,2));
p = polyfitn(uv,w,'u, v');

polyn2sympoly(p)
ans =
    0.76152*u + 0.73572*v

Nothing special needs be done except putting it in a directory where matlab can find it.

16 Nov 2009 Polyfitn N-d polynomial regression model Author: John D'Errico alex, Alexandros

So if I want to run this script
uv = rand(100,2);
w = sin(sum(uv,2));
p = polyfitn(uv,w,'u, v');
if exist('sympoly') == 2
  polyn2sympoly(p)
end
if exist('sym') == 2
  polyn2sym(p)
end

do I have to "call" the script "polyfitn" with a specific command?
Generaly what should I do in order to run the above script while polyfitn is a custom script of a user?

16 Nov 2009 Polyfitn N-d polynomial regression model Author: John D'Errico D'Errico, John

If you are trying to place downloaded files into the Matlab/toolbox directories, this is generally wrong. Those directories are cached by matlab when it starts up, so any files that you put in those directories will not be seen until you restart matlab. Also, anytime you make any changes to files that you put in those directories, the changes will not be recognized by matlab.

Better is to create your own new (and separate) directory for downloaded files. Add that directory on your search path, using the pathtool function, or using addpath and then savepath.

15 Nov 2009 Polyfitn N-d polynomial regression model Author: John D'Errico alex, Alexandros

The function polyfitn will probably help me but I don't know how to install this function.
I downloaded the file and I pasted it in the toolbox subfolder of Program files/Matlab....
However when I run this
uv = rand(100,2);
w = sin(sum(uv,2));
p = polyfitn(uv,w,'u, v');
if exist('sympoly') == 2
  polyn2sympoly(p)
end
if exist('sym') == 2
  polyn2sym(p)
end

it returns
??? Undefined function or method 'polyfitn' for input arguments of type 'double'.

Error in ==> testxk at 3
p = polyfitn(uv,w,'u, v');

What's wrong?

Top Tags Applied by John
approximation, interpolation, computational geometry, matrices, minimum
Files Tagged by John View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
29 Oct 2009 Published M-Files Variable Precision Integer Arithmetic Arithmetic with integers of fully arbitrary size. Arrays and vectors of vpi numbers are supported. Author: John D'Errico toolbox, projecte, rabin, biginteger, mersenne, data type 191 27
  • 4.66667
4.7 | 16 ratings
29 Oct 2009 Published M-Files SLM - Shape Language Modeling Least squares spline modeling using shape primitives Author: John D'Errico shape, modeling, interpolation, spline, splines, slm 333 11
  • 5.0
5.0 | 10 ratings
23 Jun 2009 Screenshot insphere Inscribed sphere, entirely inside the facets of a 3-d convex hull Author: John D'Errico circumsphere, convex hull, computational geometr..., sphere, insphere 108 1
  • 5.0
5.0 | 1 rating
17 Jun 2009 A*B = k*B*A Solves the homogeneous linear system A*B = k*B*A Author: John D'Errico homogeneous, linear, riccati, system, linear algebra 153 4
  • 3.0
3.0 | 2 ratings
17 Jun 2009 Screenshot incircle.m In-circle of a convex polygon, or of the convex hull of a set of points in two dimensions Author: John D'Errico computational geometr..., incircle, convex hull, circle, polygon, inscribed circle 129 2
  • 5.0
5.0 | 2 ratings
 

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